Hello Rob,

Thanks for your answer. 
Using of .wixlib would require porting all our setup projects to WiX
(apparent step ;-) - this was not a short-term target until now. 
I will look into wixlib approach... 
The only working (today) alternative workaround is patching the msm file in
a post-build step.
 
Andrej


Rob Mensching-2 wrote:
> 
> That's the spec'd behavior for Merge Modules (see the MSI SDK).  Instead
> of using Merge Modules could you use a .wixlib instead?
> 
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Andrej
> Jantzen
> Sent: Monday, July 28, 2008 06:58
> To: wix-users@lists.sourceforge.net
> Subject: [WiX-users] Should SuppressModularization affect the Target
> column for custom actions 35 and 51?
> 
> Hi,
> 
> I have to create/set some application data folders (for all users) und
> tried to use
> custom actions 35 or 51 according to
> http://msdn.microsoft.com/en-us/library/aa367852(VS.85).aspx.
> 
> WiX fragment:
> 
> <CustomAction Id="AssignDATADIR" Directory="MYDATADIR"
> Value="[CommonAppDataFolder]MyCompany\Data" SuppressModularization="yes"
> />
> <CustomAction Id="AssignDATADIR2" Property="MYDATADIR2"
> Value="[CommonAppDataFolder]MyCompany\Data" SuppressModularization="yes"
> />
> ...
> <InstallXXXSequence>
> <Custom Action="AssignDATADIR" Before="CostFinalize">(Not Installed) AND
> (VersionNT &gt;= 600)</Custom>
> <Custom Action="AssignDATADIR2" Before="CostFinalize">(Not Installed) AND
> (VersionNT &gt;= 600)</Custom>
> ...
> 
> Unfortunately WiX generates following string (in both cases) in the column
> Target of CustomActions table:
> 
> [CommonAppDataFolder.FF60FDA4_016C_4310_A592_F84637EA5195]MyCompany\Data
> 
> (Note that a merge module is generated, so the PackageId is inserted).
> It looks for me that only the column Action is affected by setting
> SuppressModularization.
> 
> In my case, after linking the merge module into my target msi causes
> errors during installation because property
> CommonAppDataFolder.FF60FDA4_016C_4310_A592_F84637EA5195 is unknown there.
> 
> Is it a bug or should I look for another way ?
> 
> Thanks,
> Andrej
> p.s. Tested with WiX 3.0.4318.
> 
> 
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's
> challenge
> Build the coolest Linux based applications with Moblin SDK & win great
> prizes
> Grand prize is a trip for two to an Open Source event anywhere in the
> world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
> 
> 
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's
> challenge
> Build the coolest Linux based applications with Moblin SDK & win great
> prizes
> Grand prize is a trip for two to an Open Source event anywhere in the
> world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Should-SuppressModularization-affect-the-Target-column-for-custom-actions-35-and-51--tp18691153p18716063.html
Sent from the wix-users mailing list archive at Nabble.com.


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to