Extract only installer ? - Advanced Installer Community
Fulgan
Posts: 101
Joined: Mon Feb 27, 2012 10:42 am

Extract only installer ?

Hello,

I would like to know if it is possible to create an MSI installer that the user can simply extract to a specific folder (optionally). No action, no registration, just unpacking.

It would need to triggered by a command-line argument.
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: Extract only installer ?

Hi,

In order to achieve this, you can uncheck the "Register product with Windows Installer" option from the "Product Details" page of your project. In this case, when the package will be launched it will extract the files to the specified location without registering any details of it on the machine (e.g. Registry, Control Panel, etc.). No command line argument is needed for this.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Fulgan
Posts: 101
Joined: Mon Feb 27, 2012 10:42 am

Re: Extract only installer ?

Thank you for the answer and please excuse me for the late reply.

Actually, I WANT the feature to be controller by a command-line. The idea is to use the same installation package as the one for regular install.
Thank you
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: Extract only installer ?

Hi,

In this case you can create a normal install package, then extract its files by performing an administrative install (e.g. msiexec /a myPackage.msi).

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Fulgan
Posts: 101
Joined: Mon Feb 27, 2012 10:42 am

Re: Extract only installer ?

Thank you again for the answer.

I already tried that but this leave the MSI in the destination folder. At worse, I can work with that (and provide instructions about it) but I would like to know if there isn't a way to, for instance, simply disable the installer registration based on a property which then can be set at the command-line.
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: Extract only installer ?

Hi,

Unfortunately, I'm not aware of any method to use a package as a normal installer and also as an extraction package.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”