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: Command Line Custom Actions on Vista and 7
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
‎Oct 20, 2009
01:13 PM
Command Line Custom Actions on Vista and 7
Question about running custom actions that run command line stuff.
We have special custom actions that call the command line and basically run the following:
C:\windows\microsoft.net\framework\v2.0bla\regasm.exe "C:\Program Files\Code Red\Red Alerts\bla.dll"
This is not executing on Windows Vista or 7. Do we need to do something special to get this to work?
Any help is greatly appreciated!
We have special custom actions that call the command line and basically run the following:
C:\windows\microsoft.net\framework\v2.0bla\regasm.exe "C:\Program Files\Code Red\Red Alerts\bla.dll"
This is not executing on Windows Vista or 7. Do we need to do something special to get this to work?
Any help is greatly appreciated!
(4) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Oct 21, 2009
11:21 AM
It's unclear what you mean by "not running" and perhaps a verbose MSI log will have more detail. To take a stab in the dark, however, this regasm call probably needs elevated privileges, and the action may currently be scheduled as something as other than "Deferred in System Context." If so, perhaps try changing it to that setting?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Oct 27, 2009
07:10 AM
Is there an article on which 'deferred to system context' means in a technical fashion?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Oct 27, 2009
01:57 PM
You might try this Microsoft KB Article: http://support.microsoft.com/kb/305574
"InScript" corresponds to "Deferred" and "NoImpersonate" to "In System Context."
"InScript" corresponds to "Deferred" and "NoImpersonate" to "In System Context."
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Nov 06, 2009
09:38 AM
That worked, thanks Michael!