469,603 Members | 2,151 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,603 developers. It's quick & easy.

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 1333
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.

Similar topics

5 posts views Thread by Arun Bhalla | last post: by
reply views Thread by Arun Bhalla | last post: by
1 post views Thread by Jeremy Holt | last post: by
3 posts views Thread by david | last post: by
5 posts views Thread by plmanikandan | last post: by
6 posts views Thread by =?Utf-8?B?Qm8gTWNJbHZhaW4=?= | last post: by
reply views Thread by devrayhaan | last post: by
reply views Thread by gheharukoh7 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.