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
- :
- Passing Custom Propery and temp file path to log in command line paramters.
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
‎Jan 21, 2015
07:23 AM
Passing Custom Propery and temp file path to log in command line paramters.
Hi,
We are using Suite installers to package the individual installers and we are passing command line parameters to suppress language pop-up, our own property and temp file path to create the log files.
The below command line is not working. I was using backslash to escape the double quotes. The log file is not getting created.
/L[ISSelectedLanguage] /v"/l*v \"%TEMP%\NMS.Platform.Installer.log\"" /v"MyProperty=true"
If we hardcode the path for log files it is working fine.
/L[ISSelectedLanguage] /v"/l*v C:\test.log" /v"MyProperty=true"
We are using Suite installers to package the individual installers and we are passing command line parameters to suppress language pop-up, our own property and temp file path to create the log files.
The below command line is not working. I was using backslash to escape the double quotes. The log file is not getting created.
/L[ISSelectedLanguage] /v"/l*v \"%TEMP%\NMS.Platform.Installer.log\"" /v"MyProperty=true"
If we hardcode the path for log files it is working fine.
/L[ISSelectedLanguage] /v"/l*v C:\test.log" /v"MyProperty=true"
(2) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jan 21, 2015
08:24 AM
Instead of %TEMP%, use [TempFolder], or possibly [%TEMP] in your package command line.
That said, it looks like you're using a Suite EXE package to install a .msi file; I'm obligated to point out that we prefer using the Suite's Windows Installer package to install .msi files, at which point the Enable Logging Support settings can control this more directly.
That said, it looks like you're using a Suite EXE package to install a .msi file; I'm obligated to point out that we prefer using the Suite's Windows Installer package to install .msi files, at which point the Enable Logging Support settings can control this more directly.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jan 22, 2015
01:20 AM
Thanks a lot Michael, it is working grt