MSI Log - Advanced Installer Community

We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

lekfir
Posts: 130
Joined: Sun Feb 15, 2009 5:26 pm

MSI Log

Hello,
1. Where can I add log to installation / Uninstall of an MSI?
Bootstrapper is used only to EXE files...
2. Where can I define the name of the msi that will be created?

Thanks X 2
Bogdan
Posts: 2796
Joined: Tue Jul 07, 2009 7:34 am
Contact: Website

Re: MSI Log

Hi,
1. Where can I add log to installation / Uninstall of an MSI?
Here is an article on log file creation at install/uninstall time.
2. Where can I define the name of the msi that will be created?
The name of the MSI file that will be generated is the same with the one of the .aip file of your project. For example if you create a project called TEST.aip your MSI file will have the name TEST.msi.

Regards,
Bogdan
Bogdan Mitrache - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
lekfir
Posts: 130
Joined: Sun Feb 15, 2009 5:26 pm

Re: MSI Log

Thanks!
2 - OK
1 - I am calling to the MSI from command line but the uninstall is from All Programs.
How can I add the command line to the uninstall option?

Thanks agaian
Bogdan
Posts: 2796
Joined: Tue Jul 07, 2009 7:34 am
Contact: Website

Re: MSI Log

Hi,
1 - I am calling to the MSI from command line but the uninstall is from All Programs.
How can I add the command line to the uninstall option?
In the article that I've presented above there is at the end of the page a section called: "Automated logging with the Windows Installer Logging Policy". This is the only method of creating log files when uninstalling a package from Control Panel. Pay attention to the disk space costs that will appear when enabling this option.

Regards,
Bogdan
Bogdan Mitrache - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
lekfir
Posts: 130
Joined: Sun Feb 15, 2009 5:26 pm

Re: MSI Log

Thanks Bogdan
lekfir
Posts: 130
Joined: Sun Feb 15, 2009 5:26 pm

Re: MSI Log

I tried the following values in the registry Logging but it fails to generate the Uninstall log in %TEMP%:

/x "MyProgram.msi" /L

OR

msiexec /x {B40D5AC5-6120-4AD6-BBD4-AF5EF7E04351} /L


Any idea?
Bogdan
Posts: 2796
Joined: Tue Jul 07, 2009 7:34 am
Contact: Website

Re: MSI Log

Hi,

I observe that this article is not clearly explained and it will be modified. Thank you for bringing it to our attention.

I've attached an archive that contains the the registry entry required for logging. Just double click the registry entry to set it. When running the install/uninstall of a package you will observe that in your TEMP location will appear the log files.

Regards,
Bogdan
Attachments
install_debug.rar
(210 Bytes) Downloaded 475 times
Bogdan Mitrache - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
lekfir
Posts: 130
Joined: Sun Feb 15, 2009 5:26 pm

Re: MSI Log

Thanks Mitrache Bogdan
It really worked!

Just an advice, do not attach a RAR file but a ZIP since zip is supported by all operating systems...
Thanks again for your quick response.
Lekfir

Return to “Common Problems”