This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- MsiInstallProduct InstallUserExit
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Feb 17, 2011
08:03 AM
MsiInstallProduct InstallUserExit
I'm trying to use MsiInstallProduct to execute Msi installation. Basically, it should be rather simple
[DllImport("msi.dll")]
public static extern int MsiInstallProduct(string packagePath, string commandLine);
I've tried almost any option:
InstallMsi("C:\\MyInstall.msi", "ACTION=INSTALL CLIENTUILEVEL=3")
InstallMsi("C:\\MyInstall.msi", "")
InstallMsi("C:\\MyInstall.msi", "CLIENTUILEVEL=3")
but still, I'm keep having InstallUserExit (1602) as result.
Any guess?
[DllImport("msi.dll")]
public static extern int MsiInstallProduct(string packagePath, string commandLine);
I've tried almost any option:
InstallMsi("C:\\MyInstall.msi", "ACTION=INSTALL CLIENTUILEVEL=3")
InstallMsi("C:\\MyInstall.msi", "")
InstallMsi("C:\\MyInstall.msi", "CLIENTUILEVEL=3")
but still, I'm keep having InstallUserExit (1602) as result.
Any guess?
(2) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Feb 17, 2011
03:37 PM
Is your launcher elevated? I think UAC timeouts or suppressed UAC prompts become cancels, and cancels become a 1602.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Feb 18, 2011
04:32 AM
I'm running on WinXp and I'm defined as Administrator on the machine..