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
- :
- Anyone???
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
‎Jan 08, 2008
06:53 PM
Custom Actions on Vista UAC issues
I have a couple of issues but both pertain to Custom Actions and Vista with UAC.
First, I have an exe com server which I need to register during install and then use the com server during the install process. So it is currently done as a direct call to the exe followed by /regserver, so INSTALLDIR\filename.exe /regserver (no slash really between Installdir and filename). Without UAC and on XP this all works fine.
Enable UAC and it fails. I have tried running it as Deferred Execution in System Context but that fails as well, differently but still fails.
Second, I am trying to utilize the Launch Program at end of Installation and on Vista with UAC it fails. Our program requires Admin Privileges and it does have a correct Manifest file, it runs fine if you launch it directly. Again I tried setting the Custom Action that launches the desired program to Defferred Execution in System Context but it fails.
The installer itself is set to run with Admin Privileges.
Any input is greatly appreciated.
Thanks,
Jon
First, I have an exe com server which I need to register during install and then use the com server during the install process. So it is currently done as a direct call to the exe followed by /regserver, so INSTALLDIR\filename.exe /regserver (no slash really between Installdir and filename). Without UAC and on XP this all works fine.
Enable UAC and it fails. I have tried running it as Deferred Execution in System Context but that fails as well, differently but still fails.
Second, I am trying to utilize the Launch Program at end of Installation and on Vista with UAC it fails. Our program requires Admin Privileges and it does have a correct Manifest file, it runs fine if you launch it directly. Again I tried setting the Custom Action that launches the desired program to Defferred Execution in System Context but it fails.
The installer itself is set to run with Admin Privileges.
Any input is greatly appreciated.
Thanks,
Jon
(4) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jan 14, 2008
12:47 PM
jcstar wrote:
I have a couple of issues but both pertain to Custom Actions and Vista with UAC.
First, I have an exe com server which I need to register during install and then use the com server during the install process. So it is currently done as a direct call to the exe followed by /regserver, so INSTALLDIR\filename.exe /regserver (no slash really between Installdir and filename). Without UAC and on XP this all works fine.
Enable UAC and it fails. I have tried running it as Deferred Execution in System Context but that fails as well, differently but still fails.
Second, I am trying to utilize the Launch Program at end of Installation and on Vista with UAC it fails. Our program requires Admin Privileges and it does have a correct Manifest file, it runs fine if you launch it directly. Again I tried setting the Custom Action that launches the desired program to Defferred Execution in System Context but it fails.
The installer itself is set to run with Admin Privileges.
Any input is greatly appreciated.
Thanks,
Jon
Still having issues with this if anyone has any input it could be helpful. Even if it's not the same situation just some help in getting something to actually work using the "in System Context" option would be great.
Thanks,
Jon
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jan 14, 2008
12:59 PM
How, specifically, does it fail? For some pointers, please see this newsletter tip from Stefan Krueger (PDF): http://www.macrovision.com/webdocuments/PDF/is_vista.pdf?link_id=productsTipsTricks.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jan 14, 2008
02:38 PM
Robert,
thanks for that link. One key problem I'm having is that we have a COM server which is an Exe that I need to use during install so I need to register it during the install process. So I was just trying to call it directly once the files have been installed by [InstallDir]filename.exe /regserver and on Vista with UAC on this fails with a MSI Script error, "Error 2762. Cannot write script record. Transaction not started.". So I tried changing it to run as Deferred in System Context and set it to run just after Publish Product under the Execute Sequence. It fails there as well, sorry I don't have that error.
The next issue I'm having is Launching our program at the end of Install using the default method provided by IS. On Vista with UAC on this fails. Again I did try setting it to Deferred in System Context but still it would not work.
Thanks,
Jon
thanks for that link. One key problem I'm having is that we have a COM server which is an Exe that I need to use during install so I need to register it during the install process. So I was just trying to call it directly once the files have been installed by [InstallDir]filename.exe /regserver and on Vista with UAC on this fails with a MSI Script error, "Error 2762. Cannot write script record. Transaction not started.". So I tried changing it to run as Deferred in System Context and set it to run just after Publish Product under the Execute Sequence. It fails there as well, sorry I don't have that error.
The next issue I'm having is Launching our program at the end of Install using the default method provided by IS. On Vista with UAC on this fails. Again I did try setting it to Deferred in System Context but still it would not work.
Thanks,
Jon
Anonymous
Not applicable
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Apr 02, 2008
10:09 AM
"Error 2762. Cannot write script record. Transaction not started" - I had been getting this error message recently. This link helped me solve the problem: http://makemsi-manual.dennisbareis.com/2762.htm
Hope this is of some use to you.
Hope this is of some use to you.