-----Original Message-----
From: Robert Priest 
Sent: Wednesday, June 20, 2007 5:51 PM
To: 'Pierson Lee (Volt)'
Subject: RE: [WiX-users] Remove Guid from Property Id in Merge Module.

That didn't work. The Condition on the component is still:
SS_INSTALL_COM.98D2E4B9_9DA9_4F65_86A2_C71387B2AE10=1.

I set this right under package.
<Property Id='SS_INSTALL_COM' Value='0'/>

It did add a property in the Property Table though :)

BTW - the intent is for the installer calling this merge module to set
that property. Just some additional info on what I am trying to do...


-----Original Message-----
From: Pierson Lee (Volt) [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, June 20, 2007 5:40 PM
To: Robert Priest
Cc: wix-users@lists.sourceforge.net
Subject: RE: [WiX-users] Remove Guid from Property Id in Merge Module.

I Don't see anywhere in there where you declare the property before you
use it. You may want to declare the property first
Using <Property Id='SS_INSTALL_COM /> before you evaluate it. I think
right now because its in a <Component /> tag and that you aren't using a
<Property /> tag its thinking that SS_INSTALL_COM is a property of the
component and attaching the GUID to make it unique.

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 20, 2007 2:33 PM
To: Pierson Lee (Volt); wix-users@lists.sourceforge.net
Subject: RE: [WiX-users] Remove Guid from Property Id in Merge Module.

Hi Pierson,

Here is a sample.  It creates a merge module that contains notepad.exe.
If you need it, I can send you the resulting .msm file. I don't know if
the mailgroup admins allow attachments. Anyway, when I look at the
resulting msm file, the property in the condition is changed to:

SS_INSTALL_COM.98D2E4B9_9DA9_4F65_86A2_C71387B2AE10=1

Am I specifying the property wrong or something?

<!--Source below -->


<Wix xmlns='http://schemas.microsoft.com/wix/2003/01/wi'>
  <Module Id='MyModule' Guid='98D2E4B9-9DA9-4F65-86A2-C71387B2AE10'
Language='1033' Version='1.0.0.0'>
   <Package Id='98D2E4B9-9DA9-4F65-86A2-C71387B2AE10'
InstallerVersion='200' Compressed='yes' Manufacturer='Test'/>
      <Directory Id='TARGETDIR' Name='SourceDir'>
          <Directory Id='CommonFilesFolder' Name='CFiles'>
              <Directory Id='TestShared' Name='Test'>
                  <Component Id='Comp2'
Guid='DE265B7D-F726-41A9-9F0D-7A0449A6CEDE' >
                      <File Id='Comp2.notepad' Name='notepad.exe'
Source='C:\windows\notepad.exe' />
                      <Condition>SS_INSTALL_COM=1 </Condition>
                  </Component>
              </Directory>
          </Directory>
      </Directory>
  </Module>
</Wix>

-----Original Message-----
From: Pierson Lee (Volt) [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 20, 2007 5:01 PM
To: Robert Priest; wix-users@lists.sourceforge.net
Subject: RE: [WiX-users] Remove Guid from Property Id in Merge Module.

Do you have any source I can look at? I can't seem to duplicate this.

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
[EMAIL PROTECTED]
Sent: Wednesday, June 20, 2007 1:27 PM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Remove Guid from Property Id in Merge Module.

Hello,

I have a Condition being checked in a Component. That Component is in a
Merge Module ("<Module/>"). For argument's sake, less call the property
id="X". If "X=1" is satisfied, then the component should be installed.
If not, don't install it.

All that works fine, but when I look at the resulting msm file, the
actual name of the condition that is being checked is "X" concatenated
with the module Guid.

So in the Installer that calls the Merge Module, it has to set
"X.1111-2222-3333-4444" in order to get that conditional component to
install instead of  just "X".

Can anyone tell me how I can get the wix to create that property as just
"X", and not "X" with the Guid attached?

Thanks,

Robert.

------------------------------------------------------------------------
-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to