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!

michri
Posts: 1
Joined: Mon Mar 13, 2006 10:27 am

Set the shortcut folder by command line

Hello
I figured out that the application directory can be set via the command line options of msiexec.exe

Code: Select all

msiexec.exe /i "my.msi" /passive APPDIR="c:\myTestFolder"
But I need to customize the start menu folder too.
The command

Code: Select all

msiexec.exe /i "my.msi" /passive APPDIR="c:\myTestFolder" SHORTCUTDIR="MyFolder"
doesn't work.

Thank you
Christian
Ionut
Posts: 605
Joined: Tue Nov 22, 2005 11:29 am
Contact: Website

Hi,
The command

Code: Select all

msiexec.exe /i "my.msi" /passive APPDIR="c:\myTestFolder" SHORTCUTDIR="MyFolder"
doesn't work.
You have to use an absolute path for the value of the "SHORTCUTDIR" property (as for "APPDIR").

Regards,
Ionut
Denis Toma
Advanced Installer Team
http://www.advancedinstaller.com/

Return to “Common Problems”