No.  I have a custom action in my installshield installer that sets a  registry 
value before AppSearch.  Then there are registrysearch actions in my wix merge 
modules, which get executed during appsearch.  There are two of these registry 
searches; one works always because it is there before our installer is 
executed.  The other is there to indicate that an installer is running which 
wishes to override the merge module target.

The reason I need to do this is that I have tried umpteen ways to override the 
install location in the wix module but nothing works.  Changing destination in 
installshield doesn't work because our merge modules are written to use the 
first registry search to set the install location.  That registry search is 
fine for most of our apps that use the merge modules except for one.  I need to 
override for that one without messing up the compatibility for all the other 
apps' installers.

From: Christopher Painter [mailto:[email protected]]
Sent: Wednesday, April 27, 2011 6:46 PM
To: Vanderputten, Jennifer; General discussion for Windows Installer XML 
toolset.
Subject: Re: [WiX-users] Wix merge module troubles


Are you saying that you have a custom action that sets a registry value and 
then you use AppSearch to read the registry value in a custom action?


---
Christopher Painter, Author of Deployment Engineering 
Blog<http://blog.deploymentengineering.com/>
Have a hot tip, know a secret or read a really good thread that deserves 
attention? E-Mail Me<mailto:[email protected]?subject=Here's>


--- On Wed, 4/27/11, [email protected] 
<[email protected]> wrote:

From: [email protected] <[email protected]>
Subject: Re: [WiX-users] Wix merge module troubles
To: [email protected], [email protected]
Date: Wednesday, April 27, 2011, 2:26 PM
I know why this is happening now - not sure how to fix it.

The failed machines are multi-core, so the threads are running in parallel.  
The custom action is being run in a separate thread so the key is not ready 
before the merge module does its registrysearch.

The succeeding machines are single-core so everything is truly synchronous.

The custom action is set to "synchronous, check exit code", but the behavior is 
not what I would expect of a synchronous setting.  AppSearch is happening 
simultaneously, I want AppSearch to wait for my custom action (that is writing 
the reg entry) to finish.  OK, how do I do that?  (i m noob)

--Jen

From: Vanderputten, Jennifer
Sent: Wednesday, April 27, 2011 2:14 PM
To: 
'[email protected]<http://us.mc1117.mail.yahoo.com/mc/[email protected]>'
Subject: Wix merge module troubles

I'm setting two properties using two different registry searches.  One property 
consistently sets as expected; the other does not.

I have confirmed in every install attempt that the registry key is indeed 
there, set as expected.

With full logging passed into the msi, I see the following on the failed 
systems:

AppSearch: Property: ACUOVERRIDEDIR.F7F37B15_051C_4BEC_B4AB_D15299E5D4C8, 
Signature: ACUOverrideDir.F7F37B15_051C_4BEC_B4AB_D15299E5D4C8
MSI (c) (90:54) [12:00:59:756]: Note: 1: 2262 2: Signature 3: -2147287038
AppSearch: Property: LACFEATUREDIR.F7F37B15_051C_4BEC_B4AB_D15299E5D4C8, 
Signature: EmcVsiVSphere4LacDir.F7F37B15_051C_4BEC_B4AB_D15299E5D4C8
MSI (c) (90:54) [12:00:59:756]: Note: 1: 2262 2: Signature 3: -2147287038
MSI (c) (90:54) [12:00:59:756]: PROPERTY CHANGE: Adding 
LACFEATUREDIR.F7F37B15_051C_4BEC_B4AB_D15299E5D4C8 property. Its value is 
'C:\Program Files\EMC\Virtual Storage Integrator\vSphere4\LAC\'.

As expected, when I don't see "PROPERTY CHANGE" for the ACUOVERRIDEDIR, 
ACUOVERRIDEDIR is not being set, despite the registry key being there.  Any 
insights?

Thanks,
Jen
------------------------------------------------------------------------------
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network
management toolset available today.  Delivers lowest initial
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
_______________________________________________
WiX-users mailing list
[email protected]<http://us.mc1117.mail.yahoo.com/mc/[email protected]>
https://lists.sourceforge.net/lists/listinfo/wix-users


------------------------------------------------------------------------------
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
_______________________________________________
WiX-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to