cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Amitagarg22
Level 5

How to access log file

Hii
can anyone please tell me the process of creating log file and where this log file is saved after installation and uninstallation process.
Thanks
Labels (1)
0 Kudos
(6) Replies
WalterT
Level 4

Commandline for building logfile:

install:
msiexec /i "Yourmsi.msi" /l*v c:\logs\Yourmsilog.txt
and uninstall:
msiexec /x "Yourmsi.msi" /l*v c:\logs\Yourmsilog.txt

Where c:\logs is an existing folder. If you want to run InstallShield's MSI log analyzer rename the txt file extension to wil.

MSI log analyzer can be found in Installshield - Tools - MSI log analyzer

Hope this helps,

Walt
0 Kudos
Amitagarg22
Level 5

Hi WalterT

I want to run an exe file like Setup.exe .I want a log during time of installation and uninstallation.
0 Kudos
Amitagarg22
Level 5

Hii I am running the commands given by you its showing the following error dialogue.
0 Kudos
WalterT
Level 4

ah... These command lines work on the msi that is encapsulated in your setup.exe.

To give these commands to the msi through your setup.exe you need to use the /V parameter like this:

setup.exe /v "/l*v c:\logs\Yourmsilog.txt"

Same for uninstall.
0 Kudos
rrinblue22
Level 9

You can also include this /l*v "c:\logs\Yourmsilog.txt" command in your project.
Releases View > Setup.exe tab >> MSI command line arguments.

This would log even if you double click on setup.exe and install/uninstall
0 Kudos
RobertDickau
Flexera Alumni

Depending on the MSI version you're using, there's also General Information > Create MSI Logs.
0 Kudos