Setting MSI Log to %APPDATA% - 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

Setting MSI Log to %APPDATA%

Hi,
When I call the MSI from command line to install to %appdata% folder,
the msi runs but no log is created. Any idea why?

My command line:
msiexec /i MyFile.msi /l* %appdata%\MyApp\log.txt

Thanks!
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: Setting MSI Log to %APPDATA%

Hi,

Does the "MyApp" folder exist in your Application Data directory? Please note that msiexec logs can be created only in existing folders.

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

Re: Setting MSI Log to %APPDATA%

Yes,
The folder exists...
GabrielBarbu
Posts: 2146
Joined: Thu Jul 09, 2009 11:24 am
Contact: Website

Re: Setting MSI Log to %APPDATA%

Hello,

Does it work for you when trying to create it in C:\ or some other root of one of your drives?

Regards,
Gabriel
Gabriel Barbu
Advanced Installer Team
http://www.advancedinstaller.com/

Return to “Common Problems”