cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
langhammer
Level 3

Starting an EXE via custom action in a MSI Project

Hi all,

I'm running a custom action to execute a program, which will register some dll.
See my screenshot, please.

If I start the Installation, the Program is not able to make entries in the Registry caused by the dll (if Windows 7 is used).

If I run the same syntax in the Command-Line (as Administrator) it works fine.

In my Screenshot you can See [INSTALLDIR2] its a property filed by a Installshield Script and is the same like [INSTALLDIR] but without ending "\".

crgacutil.4.exe /appName "dotConnect for Oracle" /installDir "C:\Program Files\.NET ADO for Oracle Devart 5.70.180.0.i1" /i /path "C:\Program Files\.NET ADO for Oracle Devart 5.70.180.0.i1\Devart.Data.Oracle.dll"

Maybee, the custom action stats the crgautil without admin privileges ? What can I do to solve this ?

Note: This action is working fine under Windows XP.
Labels (1)
0 Kudos
(1) Reply
rrinblue22
Level 9

Try with the custom action's in-script execution set to 'Deferred Execution in System Context'
0 Kudos