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
- :
- Install shield LE custom actions
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
Sep 06, 2013
05:32 AM
Install shield LE custom actions
Hi all,
I created setup deployment project in Visual studio 2012 Install shield LE spring edition. I want to add custom action exe into deployment project at "After setup complete success dialog". My custom action exe was created in win32 environment and it used to install device drivers using DIFX API's of WDK 8.0,also my exe take command line argument like "DiFX.exe /p HMI0000.inf 2" . But when I run my setup.exe its not going to be executed as my driver not getting installed. My custom action setting are as below
Source Location - Install with this product
File Name - [INSTALLDIR]USB Drivers/XP_WIN7_VISTA/DIFX.exe
Command Line - "/p" "HMI0000.inf" "2"
Wait For action - Yes
Ignore Exit code - No
Condition - Has condition
Always Install is set to be installed
Please help me if I am doing any wrong. Please tell me how it will be done.
I created setup deployment project in Visual studio 2012 Install shield LE spring edition. I want to add custom action exe into deployment project at "After setup complete success dialog". My custom action exe was created in win32 environment and it used to install device drivers using DIFX API's of WDK 8.0,also my exe take command line argument like "DiFX.exe /p HMI0000.inf 2" . But when I run my setup.exe its not going to be executed as my driver not getting installed. My custom action setting are as below
Source Location - Install with this product
File Name - [INSTALLDIR]USB Drivers/XP_WIN7_VISTA/DIFX.exe
Command Line - "/p" "HMI0000.inf" "2"
Wait For action - Yes
Ignore Exit code - No
Condition - Has condition
Always Install is set to be installed
Please help me if I am doing any wrong. Please tell me how it will be done.
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Sep 11, 2013
05:15 AM
Hello Suraj,
I suspect, the custom action not getting executed properly due to the fact that HMI0000.inf path not getting resolved in run time. try to use absolute path of the HMI0000.inf file in the command line argument.
I also noticed that you used "\p" "HMI0000.inf" "2" command line( entire command line should be in between "", no need of using separate "" for each arguement) in the custom action.
Could you please kindly try to install the driver package from command line manually and make use of the same in the custom action and check if the installer shows the same behavior?
Hope this helps.
Regards,
Chiranjeevi
I suspect, the custom action not getting executed properly due to the fact that HMI0000.inf path not getting resolved in run time. try to use absolute path of the HMI0000.inf file in the command line argument.
I also noticed that you used "\p" "HMI0000.inf" "2" command line( entire command line should be in between "", no need of using separate "" for each arguement) in the custom action.
Could you please kindly try to install the driver package from command line manually and make use of the same in the custom action and check if the installer shows the same behavior?
Hope this helps.
Regards,
Chiranjeevi
![](/skins/images/CC38E504FC9E1309DC48ACFEB4925670/responsive_peak/images/icon_anonymous_message.png)