PDA

View Full Version : how install device driver after software install completes



waylab
09-13-2010, 12:37 PM
Hi - custom actions
Trying to install 2nd IS package after my software package installs.

in custom actions...
After setup complete success
- named action as rs232

my file rs232.exe (is an IS package for an rs232 device driver is copied to target in \musicat as part of my install but does not execute/install upon installation of the software)


source location:File exists on target computer
file location :[musicat]
file name and command line: rs232.exe /s
wait for action: no
ignore exit code: yes
conditions: no conditions

Can you help, thanks

fpci9590
10-18-2010, 09:41 AM
Not sure if this will help or not.




This is what I use to call a batch file:

Source Location: File Exists on target Computer
File Location: [SystemFolder]
File Name and Command Line: cmd.exe /c "[folderName]Databases\filename.bat"
In-Script Execution: Deferred Execution in System Context
Wait for action: Yes
Ignore Exit code: Yes


This is what I use to call an exe file to uninstall my service:

Source Location: File Exists on target Computer
File Location: [WindowsFolder]Microsoft.NET\Framework\v2.0.50727
File Name and Command Line: InstallUtil.exe /u "[INSTALLDIR]ServiceFileName.exe"
In-Script Execution: Deferred Execution in System Context
Wait for action: Yes
Ignore Exit code: Yes

Your File Location will just be the folder directory where your exe exists.
The file name and command line will just be whatever the app is that you are calling.