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!

MattGreaves
Posts: 8
Joined: Sat Aug 11, 2012 1:11 pm

Help! MSI with additional switches

Hi all,

I have an existing MSI installer which needs to be run using additional installation switches. This MSI needs to be deployed via GPO however as far as I'm aware you cannot deploy MSI's with switches (unless someone can tell me otherwise...!). I've imported the existing MSI into the latest build (v13.2) but cannot see any option to add in the required switches.

Can someone assist me please?

Regards,
Matt
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: Help! MSI with additional switches

Hi Matt,

Indeed, from what I know you cannot run MSIs using additional switches when deploying through GPO. Only the /q and /qn silent switches get automatically set.

If you have additional switches like for example setting public properties, you should create and use a transform on the MSI. For a one time change you can open the MSI with Advanced Installer and edit it on the fly, but the common solution is to create an MST. Here's a video on how to do that:
Creating transforms (MST) with Advanced Installer

FYI: After opening the MSI with Advanced Installer, public properties are listed in the Install Parameters page.

All the best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
MattGreaves
Posts: 8
Joined: Sat Aug 11, 2012 1:11 pm

Re: Help! MSI with additional switches

Hi Mihai,

Thanks for your response, think I'm having a brain failure as I don't understand where I need to enter this info. Other than the very basics (install files, run a basic script post install) I've not ventured into anything like this so please forgive my stupid questions!

The silent install commands provided by the developer is as follows; Can you tell me where this needs to go?

msiexec /i <package path>\<package name> EULA=1 KSN=1 ALLOWREBOOT=1 /qn


Many thanks,
Matt
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: Help! MSI with additional switches

Hi Matt,

Here's what you need to do:
- open the MSI using Advanced Installer
- go to Install Parameters page
- set ALLOWREBOOT, KSN and EULA public properties to 1 in the Properties section
- finally, go to the File menu -> Save -> Save As and make sure to select MST in the Save as type field.

You can then use this MST on the MSI when deploying through GPO.

All the best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Building Installers”