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
- :
- MSI Command Line Arguments
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
Not applicable
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎May 12, 2009
03:17 PM
MSI Command Line Arguments
So right now I have /l*v "C:\program.log" in the msi command line arguments box under Release, but I don't want this hardcoded to C:\. I want to use the property [LocalAppDataFolder]. But when I do /l*v '[LocalAppDataFolder]\program.log" It does not work. How do I get this to accept this property?
Thanks!
Thanks!
(2) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎May 12, 2009
03:22 PM
MSI properties won't be expanded until the installation is running, so they can't be passed as command-line arguments (whether manually or in that setup.exe setting). Perhaps try %APPDATA% or some variation?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎May 12, 2009
03:25 PM
We usually do something like this:
/l*v %temp%\Installer.log
InstallShield also uses the %temp% folder to do things, such as extract files from setup.exe, so we have found this approach to work well.
/l*v %temp%\Installer.log
InstallShield also uses the %temp% folder to do things, such as extract files from setup.exe, so we have found this approach to work well.