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
- :
- Re: Problem launching IDriver from IS2009
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
‎May 12, 2009
03:46 PM
Problem launching IDriver from IS2009
I have an InstallScript MSI project that was converted from InstallShield 11.5 to InstallShield 2009. Within the InstallScript code, I attempt to launch the uninstall of any previous version of the program by launching(via LAAW) its uninstall string found in the registry.
During a specific scenario IDriver.exe fails: I'm logged in as a non-admin on a domain. I kick the upgrade off by running it through a service running under the LocalSystem account. When it gets to the point where it tries launch IDriver.exe to uninstall the old IS11.5 version installed, I get the "InstallShield Wizard is preparing...." dialog which seems to completely fill up the progress bar but then disappears and nothing happens. Note that this only happens when the version currently installed was built in IS11.5 and the upgrade was built in IS2009. This also is not an issue when I log into the machine as an admin, but I don't see why this matters since the install is running through a service as the LocalSystem account.
Running ProcessMonitor shows a few cases where access was denied to the old .ilg file.
Does anyone have any thoughts?
During a specific scenario IDriver.exe fails: I'm logged in as a non-admin on a domain. I kick the upgrade off by running it through a service running under the LocalSystem account. When it gets to the point where it tries launch IDriver.exe to uninstall the old IS11.5 version installed, I get the "InstallShield Wizard is preparing...." dialog which seems to completely fill up the progress bar but then disappears and nothing happens. Note that this only happens when the version currently installed was built in IS11.5 and the upgrade was built in IS2009. This also is not an issue when I log into the machine as an admin, but I don't see why this matters since the install is running through a service as the LocalSystem account.
Running ProcessMonitor shows a few cases where access was denied to the old .ilg file.
Does anyone have any thoughts?
(6) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎May 13, 2009
11:14 AM
I believe the pre-IS12 IDriver model would try to use the Interactive User when possible, instead of the Launching User. That might be related to the differences you describe between being launched as a service vs. launched as a logged-in administrator. Setup.exe offered the /runas parameter to change to using the Launching User.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎May 13, 2009
04:19 PM
Thanks Michael. Follow-up question though.... Would I add the /runas switch to the launch of the IS2009 setup.exe which, as mentioned before, uses LAAW to launch IDriver for the IS11.5 version?
The problem I see is that the suggested use of "/runas" would be used in a situation where you were launching the setup.exe bootstrap program that called its own IDriver.exe. In my case, the InstallScript code in my setup.exe is simply querying an uninstall string for a previous version and launching that through LAAW directly. Is there a way to modify(in IS2009) that LAAW call similarly to your suggestion?
The problem I see is that the suggested use of "/runas" would be used in a situation where you were launching the setup.exe bootstrap program that called its own IDriver.exe. In my case, the InstallScript code in my setup.exe is simply querying an uninstall string for a previous version and launching that through LAAW directly. Is there a way to modify(in IS2009) that LAAW call similarly to your suggestion?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎May 14, 2009
11:44 AM
Unfortunately I think the place you would need it is in the IDriver.exe command line, and trying to research our older code, I don't see where IDriver.exe would accept that command line. One potential workaround is to tweak the InstallDriver AppID registry keys (there's two of them) such that they both reference the launching user. Open up ISScript*.msi to find the keys in the Registry Table. Or maybe you can run this uninstall from an interactive session and avoid this trouble.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎May 14, 2009
12:00 PM
I see the option for Interactive User. Is the value for the launching user simply "Launching User"?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎May 15, 2009
11:19 AM
Launching user is represented by a blank or removed value.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎May 18, 2009
09:20 AM
I've also tried using "Launching User" and that seems to do the trick, although it may simply be the fact that anything other than "Interactive User" is there.