472,353 Members | 1,419 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,353 software developers and data experts.

Installer stopped working within IDE

I have an Installer Setup project which builds fine. However, if I select
Install from within the solution, the installation fails with a message "The
installer was interruped before XXXXX could be installed. You need to
restart the installer to try again."

However, if I move the MSI file to any directory other than where it was
compiled to, the MSI installs fine.

Note that if the application was already installed, then selecting Install
from within the IDE will correctly uninstall the old app before trying (and
then failing) to install the new version.

Any thoughts?

Thanks in advance
Jeremy
Jul 21 '05 #1
1 1417
One possibility is that the Installer service is unable to access the installation package because NT
AUTHORITY\SYSTEM does not have full control.

You can verify the ACLs by running cacls.exe.

eg.
C:\windows\system32>cacls c:
c:\ BUILTIN\Administrators:(OI)(CI)F
NT AUTHORITY\SYSTEM:(OI)(CI)F
CREATOR OWNER:(OI)(CI)(IO)F
BUILTIN\Users:(OI)(CI)R
BUILTIN\Users:(CI)(special access:)
FILE_APPEND_DATA
BUILTIN\Users:(CI)(IO)(special access:)
FILE_WRITE_DATA
Everyone:R

Make sure that the output for your build directory includes NT AUTHORITY\SYSTEM with full
control.

You may also want to try launching your MSI from the build directory and looking at the log file:
msiexec.exe /i setup1.msi /lv* install.log
--
Mike Wade, VB Team
This posting is provided "AS IS" with no warranties, and confers no rights.

--------------------
From: "Jeremy Holt" <am*********@hotmail.com>
Subject: Installer stopped working within IDE
Date: Sun, 25 Jan 2004 14:08:06 -0300

I have an Installer Setup project which builds fine. However, if I select
Install from within the solution, the installation fails with a message "The
installer was interruped before XXXXX could be installed. You need to
restart the installer to try again."

However, if I move the MSI file to any directory other than where it was
compiled to, the MSI installs fine.

Note that if the application was already installed, then selecting Install
from within the IDE will correctly uninstall the old app before trying (and
then failing) to install the new version.

Any thoughts?

Thanks in advance
Jeremy


Jul 21 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: Arun Bhalla | last post by:
I'm working with VS.NET 2003 and .NET 1.1 (not SP1) on Windows XP SP1. My application is using the Windows Installer Bootstrap. (I may have also...
0
by: Arun Bhalla | last post by:
I'm having some inconsistency problems with my deployment project ("Setup") and its custom actions ("Installer"). I'm using Visual Studio .NET 2003...
1
by: BuddyWork | last post by:
Hello, When a particular user (has administrator rights) on a Windows 2000 Server SP4 tries to run any MSI's we get the message mentioned in the...
1
by: Jeremy Holt | last post by:
I have an Installer Setup project which builds fine. However, if I select Install from within the solution, the installation fails with a message...
3
by: david | last post by:
Greetings, I'm doing some modifications of an existing Visual Studio .NET 2003 C# project that is to be deployed as a windows service. The...
4
by: Rob R. Ainscough | last post by:
The task is brain dead simple - Uninstall prior Windows Service and Install newer version of Windows Service Background: 1. My Windows Service...
5
by: plmanikandan | last post by:
Hi, I need a installer for c#.net application I'm using visual studio 2005,.net2.0 and sql server 2000 My application is windows application. I...
6
by: =?Utf-8?B?Qm8gTWNJbHZhaW4=?= | last post by:
I have a installation package which installs ok when setup.exe is used, but if I try to install via msiexec, I get an error "This installation...
5
by: Phil | last post by:
A file used by my application may be stored on a shared network drive, so that it can be accessed by different people using the same application. I...
1
by: Kemmylinns12 | last post by:
Blockchain technology has emerged as a transformative force in the business world, offering unprecedented opportunities for innovation and...
0
by: Naresh1 | last post by:
What is WebLogic Admin Training? WebLogic Admin Training is a specialized program designed to equip individuals with the skills and knowledge...
0
jalbright99669
by: jalbright99669 | last post by:
Am having a bit of a time with URL Rewrite. I need to incorporate http to https redirect with a reverse proxy. I have the URL Rewrite rules made...
0
by: antdb | last post by:
Ⅰ. Advantage of AntDB: hyper-convergence + streaming processing engine In the overall architecture, a new "hyper-convergence" concept was...
2
by: Matthew3360 | last post by:
Hi, I have a python app that i want to be able to get variables from a php page on my webserver. My python app is on my computer. How would I make it...
0
by: AndyPSV | last post by:
HOW CAN I CREATE AN AI with an .executable file that would suck all files in the folder and on my computerHOW CAN I CREATE AN AI with an .executable...
0
by: Arjunsri | last post by:
I have a Redshift database that I need to use as an import data source. I have configured the DSN connection using the server, port, database, and...
0
Oralloy
by: Oralloy | last post by:
Hello Folks, I am trying to hook up a CPU which I designed using SystemC to I/O pins on an FPGA. My problem (spelled failure) is with the...
0
by: Carina712 | last post by:
Setting background colors for Excel documents can help to improve the visual appeal of the document and make it easier to read and understand....

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.