Command line install

Add-in Express™ Support Service
That's what is more important than anything else

Command line install
 
Chris Ducharme




Posts: 56
Joined: 2013-05-09
We have an Outlook add-in that we have been installing using the setup.exe. Currently we have 4 Setup.exe/Addin install sets. 32 bit- Per User/32 bit- Per Machine/64 bit- Per User/64 bit- Per Machine. The add-in is setup as AnyCPU. We write to the Machine.Config file. All versions are writing to the 32 bit Framework Config folder. Our Add-in works just fine this way. But...

We now have a client who wants to do a silent install (msiexec /i addin.msi CONFIGPATH=c:\... /qn+) where they select the location of the Machine.Config. They do not want the 64 bit installed add-in to write to the 32 bit Machine.Config.

Is this possible, and can you point me in the right direction.

Thanks

Chris.
Posted 19 Aug, 2020 10:11:42 Top
Andrei Smolin


Add-in Express team


Posts: 18830
Joined: 2006-05-11
Hello Chris,

Chris Ducharme writes:
The add-in is setup as AnyCPU.


I believe a setup project can only be of a specific bitness. At least, Add-in Express generates 32bit setup projects to let you run installers on 32bit and 64bit machines.

We describe bit-specific deployment at https://www.add-in-express.com/creating-addins-blog/2015/02/25/creating-bit-specific-office-addin/.


Andrei Smolin
Add-in Express Team Leader
Posted 20 Aug, 2020 03:27:23 Top