I have created a Junos pulse secure msi package under the software package library and it's working perfectly. Now, how do I add a preconfig file in this msi package, which helps to configure Junos during the installation. Should I add another procedure? Then what will be the procedure source file and how do I add the parameters?
Please find the below parameters which I used to install junos pulse manually via cmd.
JunosPulse.x86.msi CONFIGFILE="%USERPROFILE%\Downloads\Default.jnprpreconfig" \passive
Thanks & regards,
Did you import the native MSI or are you invoking from a script?
I've import the MSI and created a MSI package. But now I want to add a config file with that MSI package and insert some installation parameters. Is it possible ?
If you have delivered the package to any test systems, then from the GUI first delete the install records from the packages\installations. Once that is done you can unseal the package, copy any new files into the source\GUID\, and then modify you install procedure to add a new MSI property containing the name of your configuration file.
I've unsealed the package and added the config file to the source\GUID\ , also I've create a property [ CONFIGFILE] for that installation procedure and assigned the value[ "$ip\Default.jnprpreconfig" ]. But, still it's not working.
[Note: Default.jnprpreconfig is name of that config file]
Try to run the package manually with the same options. What is the result
Principal Engineering Services Architect
Mobile: +1 703 655 7161 | Richard.Lechner@ca.com
I've tried below command in test machine by using cmd and it works.
JunosPulse.x86.msi CONFIGFILE="<config file name and path>" \passive
Try removing the $ip from the path in the filename parameter, just have the filename. The current path of the job will be the temporary source directory SD creates for the job so specifying the path is not necessary.
Steve McCormick, ITIL
Principal Services Consultant
The proper way to do it is to create a transform file. And pass in the transform file name
There are 2 other options
1. Create an external procedure that runs msiexe and pass in needed parameters as in this example. $ip is the path of the sd package
2. Create a batchfile install.bat as an example
In that file is
msiexec /I 7zip.exe configfile=configfilename /quiet not passive as there is no place to display the progress bar
I choose the 2nd option and it works perfectly. I've created a batch file with required parameters and put it into a package.
But, now I'm facing with another problem. It's showing an "Interactive Services Detection" message if I'm trying to deploy this package. Could you please tell me how to avoid this message?
Note: I want to deploy this package in windows 7 (x86 & x64) systems.
When submitting the job select the option “Enable user interaction” this will cause what aver is triggering the Interactive Session to be displayed.
When you say not working could you be a bit more specific? Is the config file not being used, do you get an error, what is shown in the SD Agent log and the MSI log etc?