i want a log file to get created as i install my application using myapplication.msi or setup.exe generated by VS 2003.
I dont want the command prompt solution using
msiexec myapplication.msi /l c:\mylog.log
I require an install log get created automatically when i click either setup.exe or myapplication.msi.
one more
i tried the CmdLine option option in the setup.ini file generated by visual studio.net.
but what ever instruction i give it is not taking it.
Please give me few suggestions
This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.
Create automatic log file when i click the msi fil
Started by
k_baskaran
, Jun 11 2005 11:09
2 replies to this topic
Posted 11 June 2005 - 11:24
You can enable the Logging policy in your own environment which will apply to all installs.
In order to apply logging to a package (in all environments), you can use the "EnableLog" method of the "Installer".
http://msdn.microsof...r_enablelog.asp
In order to apply logging to a package (in all environments), you can use the "EnableLog" method of the "Installer".
http://msdn.microsof...r_enablelog.asp
Posted 28 June 2005 - 16:34
The quickest way to create a verbose log (esp - if you don't have the ability to apply the above GPO) is to add a Registry key to your target workstations. This will create a logfile in the temp folder:
HKLM\Software\Polocies\Microsoft\Windows\Installer
REG_SZ:Logging=voicewarmup
(yes it does exactly the same thing as the Group Policy!)
James
HKLM\Software\Polocies\Microsoft\Windows\Installer
REG_SZ:Logging=voicewarmup
(yes it does exactly the same thing as the Group Policy!)
James