[wix-users] WiX Bootstrapper App with Instance provision
Andrew Bewley
andrew.bewley at northgateps.com
Wed Dec 5 06:42:01 PST 2018
Hi,
*Main Questions*
Q1. Is it possible to prevent the Hash validation of the associated msi
from within the Bootstrapper?
Q2. If the above isn't possible, is it possible to update the stored hash
value from a BA (i'm doubtful of this)?
Q3. (Read Background) What alternative approach should I be looking at? Do
I need to define a bulk of Transforms within my msi's and then call those
from the Bootstrapper? Presumably i'll be able to retrieve the UpgradeCode
value from one of the callback messages so that I can keep track of
instance > transform relationship?
*Background*
I'm tasked with creating an installer for our product which would allow the
user to repeatedly perform the install as separate 'instances' similar to
how the SQL Server install does things (the reasoning being that they may
wish to install the product for Production, Testing, whatever and what-not)
on the same server.
To facilitate this I've created a Bootstrapper with a custom BA from which
I directly change the UpgradeCode of the msi (using the
Microsoft.Deployment.WindowsInstaller namespace) prior to the installation
of the msi. This was all working fine upto the discovery of the hash check,
where upon it says no-way!
(BTW I appreciate that the Hash check has very good basis and what I'm
trying to do is subversive to that, so I can't help feel I'm well and truly
off-piste here)
Thanks,
*Andrew Bewley*
--
This email is sent on behalf of Northgate Public Services (UK) Limited and
its associated companies including Rave Technologies (India) Pvt Limited
(together "Northgate Public Services") and is strictly confidential and
intended solely for the addressee(s).
If you are not the intended
recipient of this email you must: (i) not disclose, copy or distribute its
contents to any other person nor use its contents in any way or you may be
acting unlawfully; (ii) contact Northgate Public Services immediately on
+44(0)1442 768445 quoting the name of the sender and the addressee then
delete it from your system.
Northgate Public Services has taken reasonable
precautions to ensure that no viruses are contained in this email, but does
not accept any responsibility once this email has been transmitted. You
should scan attachments (if any) for viruses.
Northgate Public Services
(UK) Limited, registered in England and Wales under number 00968498 with a
registered address of Peoplebuilding 2, Peoplebuilding Estate, Maylands
Avenue, Hemel Hempstead, Hertfordshire, HP2 4NW. Rave Technologies (India)
Pvt Limited, registered in India under number 117068 with a registered
address of 2nd Floor, Ballard House, Adi Marzban Marg, Ballard Estate,
Mumbai, Maharashtra, India, 400001.
More information about the wix-users
mailing list