Loading
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!

  • 0_M Urman (Flexera Software)

    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?

Loading
Command Line Custom Actions on Vista and 7