By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,952 Members | 1,725 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,952 IT Pros & Developers. It's quick & easy.

Installer stopped working within IDE

P: n/a
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
Share this Question
Share on Google+
1 Reply


P: n/a
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 discussion thread is closed

Replies have been disabled for this discussion.