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!

MrAliC
Posts: 1
Joined: Wed Aug 01, 2018 3:42 pm

Office 365 C2R installer

I'm trying to create a very simple MSI installer for O365

The installer consists of two files

setup.exe
configuration.xml

These files are placed into the respective location on disk

I'm then trying to use custom action > launch file to create the following command line setup.exe /configure configuration.xml

APPDIR\setup.exe

command line setup.exe /configure configuration.xml

This doesnt work.

Even remoing the command line does not cause the seutp.exe to start on screen.

Am i doing this the wrong way or?

Thanks in advance
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Office 365 C2R installer

Hello and welcome to our forums,

This could happen if you added your setup.exe file as a regular file into your setup project in "Files and Folders" page. Regular files are deployed during deferred execution time of the "Install Execution Stage -> Add Resources" action group. So, your custom action should be scheduled as deferred after "Install Execution Stage -> Add Resources" action group. Can you please check this and run another trial?

Also, please note that regular files are the ones which are installed and deployed on target machine and left there until a product uninstall operation is triggered. So, if you do not want to leave the setup.exe file on target machine after installation I would suggest you either to add it in "Files and Folders" page as a temporary file or to add the setup.exe as a prerequisite to your setup project.

If this still doesn't work, please manually try to launch (e.g. from a ProwerShell or CommandPrompt) the setup.exe file with the related command line and make sure it runs as expected.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Building Installers”