[WiX-users] How to provide the property to the WIX xml.

2008-10-15 Thread MadhaviAthota

Hi,

I want to provide the TARGETDIR value from command prompt while running the
MSI, Please suggest me how the value can be provided, the WIX XML is

?xml version=1.0 encoding=UTF-8?
Wix xmlns=http://schemas.microsoft.com/wix/2006/wi;
Product Id=76192393-fb06-4d39-b398-e4d1aa99ffdd Name=RPPSetup
Language=1033 Version=1.0.0.0 Manufacturer=RPPSetup
UpgradeCode=7bb9d1b3-2df5-4024-b876-0648a5595349
Package InstallerVersion=200 Compressed=yes /

Media Id=1 Cabinet=RPPSetup.cab EmbedCab=yes /

!-- Pre Requisite Checks for .Net Frameworks 2.0,3.0,3.5--
Property Id=NETFRAMEWORK20
  RegistrySearch Id=NetFramework20 Root=HKLM
Key=Software\Microsoft\NET Framework Setup\NDP\v2.0.50727 Name=Install
Type=raw /
/Property

Property Id=NETFRAMEWORK30
  RegistrySearch Id=NetFramework30 Root=HKLM
Key=Software\Microsoft\NET Framework Setup\NDP\v3.0 Name=Install
Type=raw /
/Property

Property Id=NETFRAMEWORK35
  RegistrySearch Id=NetFramework35 Root=HKLM
Key=Software\Microsoft\NET Framework Setup\NDP\v3.5 Name=Install
Type=raw /
/Property

Property Id=TARGETDIR Value=NULL /
Property Id=AccountManagementPATH
Value='[TARGETDIR]\AccountManagement'/Property

Condition Message=The .NET Framework 2.0 must be installed
  ![CDATA[Installed OR NETFRAMEWORK20]]
/Condition

Condition Message=The .NET Framework 3.0 must be installed
  ![CDATA[Installed OR NETFRAMEWORK30]]
/Condition

Condition Message=The .NET Framework 3.5 must be installed
  ![CDATA[Installed OR NETFRAMEWORK35]]
/Condition

Directory Id=TARGETDIR Name=SourceDir
Directory Id=ProgramFilesFolder
Directory Id='MyDir' Name='TestProg'
  Component Id='RemoveRPPFiles'
Guid='76192393-fb06-4d39-b398-e4d1aa99ffda'
Condition
  ![CDATA[ TARGETDIR  NULL ]]
/Condition
RemoveFile Id=RemoveAccountManagementWebConfigFile Name=*
On=install Property=AccountManagementPATH/RemoveFile
CreateFolder /
  /Component
/Directory
  /Directory
/Directory

Feature Id=ProductFeature Title=RPPSetup Level=1
  ComponentRef Id='RemoveRPPFiles' /
/Feature

/Product
/Wix

Thank You


-- 
View this message in context: 
http://n2.nabble.com/How-to-provide-the-property-to-the-WIX-xml.-tp1335824p1335824.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=100url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Recent WIX sources will not build

2008-10-15 Thread Neil Sleightholm
I have found the same and just haven't had time to document the
problems. There are loads of files missing from the source download, I
found the best thing to do was to get the CVS source as well and copy
the required files from there and also search for files on your local
system until it builds. Even then I couldn't get a full build to work
but it got me far enough to look and the main console applications and
extensions.

To get the CVS source install CVSNT and then use these two commands -
when it prompts for a password just hit enter:
C:\Program Files\CVSNT\cvs.exe
-d:pserver:[EMAIL PROTECTED]:/cvsroot/wix login
C:\Program Files\CVSNT\cvs.exe -z3
-d:pserver:[EMAIL PROTECTED]:/cvsroot/wix co -P wix

Good luck!

Neil

-Original Message-
From: Jeb Remus [mailto:[EMAIL PROTECTED] 
Sent: 14 October 2008 20:33
To: wix-users@lists.sourceforge.net
Cc: Jeb Remus
Subject: [WiX-users] Recent WIX sources will not build


I've been unable to resolve a problem I'm seeing trying
to build recent WIX sources.  All documentation says to 'simply run
make.bat,' but I'm not seeing this succeed.I'm actually hit two
problems -


1)
C:\WINDOWS\Microsoft.NET\Framework\v3.5\Microsoft.Common.targets(2743,9)
: error MSB3021: Unable to copy file
C:\WIX\SOURCES\src\light\darice.cub to
C:\WIX\SOURCES\build\debug\x86\darice.cub. Could not find file
'C:\WIX\SOURCES\src\light\darice.cub'.
 [exec]
C:\WINDOWS\Microsoft.NET\Framework\v3.5\Microsoft.Common.targets(2743,9)
: error MSB3021: Unable to copy file
C:\WIX\SOURCES\src\light\mergemod.cub to
C:\WIX\SOURCES\build\debug\x86\mergemod.cub. Could not find file
'C:\WIX\SOURCES\src\light\mergemod.cub'.
 [exec]
C:\WINDOWS\Microsoft.NET\Framework\v3.5\Microsoft.Common.targets(2743,9)
: error MSB3021: Unable to copy file
C:\WIX\SOURCES\src\light\mergemod.dll to
C:\WIX\SOURCES\build\debug\x86\mergemod.dll. Could not find file
'C:\WIX\SOURCES\src\light\mergemod.dll'.
 [exec]
C:\WINDOWS\Microsoft.NET\Framework\v3.5\Microsoft.Common.targets(2743,9)
: error MSB3021: Unable to copy file
C:\WIX\SOURCES\src\pyro\mspatchc.dll to
C:\WIX\SOURCES\build\debug\x86\mspatchc.dll. Could not find file
'C:\WIX\SOURCES\src\pyro\mspatchc.dll'.


If I manually copy these files from a download of the WIX binaries, I
circumvent this error.  Instead I hit this:

2)
[cl] c:\users\jebremus\documents\visual studio
2008\projects\wix\src\dtf\tools\sfxca\precomp.h(32) : fatal error C1083:
Cannot open type library file: 'mscorlib.tlb': No such file or
directory.


Has anyone seen this before or know of a fix?  Has
anyone been able to build recent WIX sources out of the box as
advertised?  Thanks much.

-Jeb Remus

-
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=100url=/
___
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=100url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Problems with XmlConfig

2008-10-15 Thread Michael Zemanek
You are missing the leading ampersand for xml entities (amp; itself is
an xml entity) -  #xA; 
Carriage return code is 13 and line feed is 10, so you have to use #xD;
instead of #xA;.
Or use the full sequence for CR/LF: #xD;#xA;

For your sample, the following should work:

util:XmlConfig Id=setting7 Action=create Node=value On=install
File=[#WebConfig] Sequence=7
Name=template
ElementPath=//formatters/add

Value=Timestamp: {timestamp}amp;#xD;#xA;Message:
{message}amp;#xD;#xA;Category: {category}amp;)}/




-Original Message-
From: Pierson Lee (PIE) [EMAIL PROTECTED]
Subject: Re: [WiX-users] Problems with XmlConfig
To: General discussion for Windows Installer XML toolset.
wix-users@lists.sourceforge.net
Message-ID:

[EMAIL PROTECTED]
icrosoft.com

Content-Type: text/plain; charset=us-ascii

Just to give you a better idea:


util:XmlConfig Id=setting7 Action=create Node=value
On=install File=[#WebConfig] Sequence=7
Name=template
ElementPath=//formatters/add

Value=Timestamp: {timestamp}amp;#xA;Message:
{message}amp;#xA;Category: {category}amp;)}/



Is what I'm attempting

-Original Message-
From: Rob Mensching [EMAIL PROTECTED]
Subject: Re: [WiX-users] Problems with XmlConfig
To: General discussion for Windows Installer XML toolset.
wix-users@lists.sourceforge.net
Message-ID:

[EMAIL PROTECTED]
icrosoft.com

Content-Type: text/plain; charset=us-ascii

I think you're fighting MSXML here.

-Original Message-
From: Pierson Lee (PIE) [mailto:[EMAIL PROTECTED]
Sent: Tuesday, October 14, 2008 13:27
To: General discussion for Windows Installer XML toolset.
Subject: [WiX-users] Problems with XmlConfig

I was attempting to insert #xA; into my web configs to specify a
carriage return for some lines of text I'm adding into the config, but
it seems like during the process, those characters are getting stripped.
Anyone have any idea how to do this? Thanks :)


-
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=100url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] WindowsFolder Property is not resolved properly inside merge module

2008-10-15 Thread Swadhin Sonowal
Hi
 
WindowsFolder Property is resolved to empty string inside merge module.
 
The wix code snippet where it is looking for the standard WindowsFolder 
property is
 
  util:XmlConfig Id=FirstRemove Action=delete On=install Sequence=1 

File=[WindowsFolder]Microsoft.NET\Framework\v2.0.50727\CONFIG\machine.config 
 
 
When I try to install the msi which is built using the above msm. I get an 
error saying 
Unable to find the file Microsoft.NET\Framework\v2.0.50727\CONFIG\machine.config
 
When I open the msm file using orca, the xmlconfig section shows that the 
WindowsFolder property is being replaced with
[WindowsFolder.MSM_GUID] the MSM guid sections are separated using ‘_’. 
 
As per my understanding the standard properties like WindowsFolder should not 
be modularized. Please let me know if I am missing any flag indicating wix 
compiler for  not to modularize some standard Property.
 
Observation:
This behavior is not observed in the wix version 3.0.2921.0 which i used to 
generate MSI’s.
In this version the WindowsFolder Property is not modularized and we were able 
to use it inside the msm
When we upgraded the wix toolset with the build 3.0.4323.0 this behavior is 
observed. I tried with 3.0.4429.0 and is behaving in the same way.
 
If this is a expected behavior then please let me know a way to use Standard 
Properties like WindowsFolder inside an merge module.
 
 
Regards
swadhin
 
_
Want to explore the world? Visit MSN Travel for the best deals.
http://in.msn.com/coxandkings
-
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=100url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Create .mst from edited .wixout file (or other wix format file)

2008-10-15 Thread Ulf Jonson
Hi,

Ok I found out myself. I have tired this approach but I must have made
some simple mistake when I tried first time.

Just type:

torch myEditedTransform.wixout -out myNewTransform.mst

Derek Cicerone:s blog said it would be possile so I tried again.

You could create a transform with torch, then decompile it with
dark into a .wixout file, then re-build the transform file by passing
the .wixout file into torch.

/Ulf

-
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=100url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Use of ComponentGroup and Duplicate symbol 'WixComponentGroup:xxx' found.

2008-10-15 Thread Eitan Behar
Hi Nic,

Your code looks right, how are you refering to the wix fragment?

Rgrds,

Eitan



On Wed, Oct 15, 2008 at 3:05 PM, Nic Barden [EMAIL PROTECTED] wrote:

 Hi,

 I am trying to wrap my Fragment contents inside a ComponentGroup like
 this forum post says:


 http://n2.nabble.com/Multiple-Wxs-Merge-in-Visual-Studio--td701023.html#a701
 024



 I am still unsure of the best design for this, but I would ideally like the
 main installer to be the only place where the APPLICATIONROOTDIRECTORY is
 specified.

 So I have one wxs file with a fragment like this:



 Wix xmlns=http://schemas.microsoft.com/wix/2006/wi;

  Fragment

ComponentGroup Id=Project1Files 

  ComponentRef Id=component1 /

  ComponentRef Id= component2 /

/ComponentGroup



DirectoryRef Id= APPLICATIONROOTDIRECTORY 

  Component Id=component1 Guid=F9971885-8150-476C-86AE-EC693A59C8DF
 DiskId=1

...

/Component

...

/DirectoryRef

  /Fragment

 /Wix





 Then I have the main wxs file like this:



 Product

 Directory Id=TARGETDIR Name=SourceDir

Directory Id=ProgramFilesFolder

Directory Id=INSTALLDIR Name=MyCompany

Directory Id=APPLICATIONROOTDIRECTORY
 Name=MyApplication /

/Directory

/Directory

 /Directory



 Feature Id=ProductFeature Title=My Application Level=1
 ConfigurableDirectory= APPLICATIONROOTDIRECTORY 

ComponentGroupRef Id= Project1Files  /

 /Feature

 /Product



 This results in a compilation error: Duplicate symbol
 'WixComponentGroup:Project1Files' found.

 What is the issue here - have they been included due to both the
 DirectoryRef and also the Feature?  I am not sure how to bundle the
 Components into the ComponentGroup without including them in a directory,
 as
 they expect a directory to be set.

 Also, should the Directory Id=APPLICATIONROOTDIRECTORY
 Name=MyApplication / definition contain anything if all the contents
 have
 already been added via the Fragments?



 Thanks

 -
 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=100url=/
 ___
 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=100url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Fwd: Change Default Selection of ComboBox

2008-10-15 Thread pavan gadam
Resending...

Any Help???

-- Forwarded message --
From: pavan gadam [EMAIL PROTECTED]
Date: Wed, Oct 15, 2008 at 2:18 PM
Subject: Change Default Selection of ComboBox
To: General discussion for Windows Installer XML toolset. 
wix-users@lists.sourceforge.net


 Hi all,

I have a ComboBox whose default selection needs to be determined
dynamically.

I am using Custom Action to populate the items dynamically. But i am not
able to set one of the items as default selection of the ComboBox.

All the items appear in the combobox when i click on drop down. By default
ComboBox shows blank and none of them is selected. How can we achieve this?

Thanks,
Pavan.
-
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=100url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Use of ComponentGroup and Duplicate symbol 'WixComponentGroup:xxx' found.

2008-10-15 Thread Nic Barden
Hi Eitan,

 

I am not explicitly referencing it in the wxs file, I simply have a project
reference to the wixlib file that the project that contains the fragment
generates.

This is my understanding of how you should do this, and it will
automatically get pulled in. Is that correct?

 

Cheers

 

---

Re: [WiX-users] Use of ComponentGroup and Duplicate symbol
'WixComponentGroup:xxx' found.

From: Eitan Behar [EMAIL PROTECTED] - 2008-10-15 14:23  

Hi Nic,

 

Your code looks right, how are you refering to the wix fragment?

 

Rgrds,

 

Eitan

 

 

 

On Wed, Oct 15, 2008 at 3:05 PM, Nic Barden [EMAIL PROTECTED] wrote:

 

 Hi,

 

 I am trying to wrap my Fragment contents inside a ComponentGroup like

 this forum post says:

 

 


http://n2.nabble.com/Multiple-Wxs-Merge-in-Visual-Studio--td701023.html#a701

 024

 

 

 

 I am still unsure of the best design for this, but I would ideally like
the

 main installer to be the only place where the APPLICATIONROOTDIRECTORY is

 specified.

 

 So I have one wxs file with a fragment like this:

 

 

 

 Wix xmlns=http://schemas.microsoft.com/wix/2006/wi;

 

 Fragment

 

 ComponentGroup Id=Project1Files 

 

 ComponentRef Id=component1 /

 

 ComponentRef Id= component2 /

 

 /ComponentGroup

 

 

 

 DirectoryRef Id= APPLICATIONROOTDIRECTORY 

 

 Component Id=component1 Guid=F9971885-8150-476C-86AE-EC693A59C8DF

 DiskId=1

 

 ...

 

 /Component

 

 ...

 

 /DirectoryRef

 

 /Fragment

 

 /Wix

 

 

 

 

 

 Then I have the main wxs file like this:

 

 

 

 Product

 

 Directory Id=TARGETDIR Name=SourceDir

 

 Directory Id=ProgramFilesFolder

 

 Directory Id=INSTALLDIR Name=MyCompany

 

 Directory Id=APPLICATIONROOTDIRECTORY

 Name=MyApplication /

 

 /Directory

 

 /Directory

 

 /Directory

 

 

 

 Feature Id=ProductFeature Title=My Application Level=1

 ConfigurableDirectory= APPLICATIONROOTDIRECTORY 

 

 ComponentGroupRef Id= Project1Files  /

 

 /Feature

 

 /Product

 

 

 

 This results in a compilation error: Duplicate symbol

 'WixComponentGroup:Project1Files' found.

 

 What is the issue here - have they been included due to both the

 DirectoryRef and also the Feature? I am not sure how to bundle the

 Components into the ComponentGroup without including them in a directory,

 as

 they expect a directory to be set.

 

 Also, should the Directory Id=APPLICATIONROOTDIRECTORY

 Name=MyApplication / definition contain anything if all the contents

 have

 already been added via the Fragments?

 

 

 

 Thanks

 

 -

 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=100url=/

 ___

 WiX-users mailing list

 [EMAIL PROTECTED]

 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=100url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Change Default Selection of ComboBox

2008-10-15 Thread pavan gadam
Hi all,

I have a ComboBox whose default selection needs to be determined
dynamically.

I am using Custom Action to populate the items dynamically. But i am not
able to set one of the items as default selection of the ComboBox.

All the items appear in the combobox when i click on drop down. By default
ComboBox shows blank and none of them is selected. How can we achieve this?

Thanks,
Pavan.
-
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=100url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Use of ComponentGroup and Duplicate symbol 'WixComponentGroup:xxx' found.

2008-10-15 Thread Eitan Behar
Just for the sake of trying...remove the lib reference, and include the
fragment directly to the project...



On Wed, Oct 15, 2008 at 4:54 PM, Nic Barden [EMAIL PROTECTED] wrote:

 Hi Eitan,



 I am not explicitly referencing it in the wxs file, I simply have a project
 reference to the wixlib file that the project that contains the fragment
 generates.

 This is my understanding of how you should do this, and it will
 automatically get pulled in. Is that correct?



 Cheers



 ---

 Re: [WiX-users] Use of ComponentGroup and Duplicate symbol
 'WixComponentGroup:xxx' found.

 From: Eitan Behar [EMAIL PROTECTED] - 2008-10-15 14:23

 Hi Nic,



 Your code looks right, how are you refering to the wix fragment?



 Rgrds,



 Eitan







  On Wed, Oct 15, 2008 at 3:05 PM, Nic Barden [EMAIL PROTECTED] wrote:



  Hi,

 

  I am trying to wrap my Fragment contents inside a ComponentGroup like

  this forum post says:

 

 

 

 http://n2.nabble.com/Multiple-Wxs-Merge-in-Visual-Studio--td701023.html#a701

  024

 

 

 

  I am still unsure of the best design for this, but I would ideally like
 the

  main installer to be the only place where the APPLICATIONROOTDIRECTORY is

  specified.

 

  So I have one wxs file with a fragment like this:

 

 

 

  Wix xmlns=http://schemas.microsoft.com/wix/2006/wi;

 

  Fragment

 

  ComponentGroup Id=Project1Files 

 

  ComponentRef Id=component1 /

 

  ComponentRef Id= component2 /

 

  /ComponentGroup

 

 

 

  DirectoryRef Id= APPLICATIONROOTDIRECTORY 

 

  Component Id=component1 Guid=F9971885-8150-476C-86AE-EC693A59C8DF

  DiskId=1

 

  ...

 

  /Component

 

  ...

 

  /DirectoryRef

 

  /Fragment

 

  /Wix

 

 

 

 

 

  Then I have the main wxs file like this:

 

 

 

  Product

 

  Directory Id=TARGETDIR Name=SourceDir

 

  Directory Id=ProgramFilesFolder

 

  Directory Id=INSTALLDIR Name=MyCompany

 

  Directory Id=APPLICATIONROOTDIRECTORY

  Name=MyApplication /

 

  /Directory

 

  /Directory

 

  /Directory

 

 

 

  Feature Id=ProductFeature Title=My Application Level=1

  ConfigurableDirectory= APPLICATIONROOTDIRECTORY 

 

  ComponentGroupRef Id= Project1Files  /

 

  /Feature

 

  /Product

 

 

 

  This results in a compilation error: Duplicate symbol

  'WixComponentGroup:Project1Files' found.

 

  What is the issue here - have they been included due to both the

  DirectoryRef and also the Feature? I am not sure how to bundle the

  Components into the ComponentGroup without including them in a directory,

  as

  they expect a directory to be set.

 

  Also, should the Directory Id=APPLICATIONROOTDIRECTORY

  Name=MyApplication / definition contain anything if all the contents

  have

  already been added via the Fragments?

 

 

 

  Thanks

 

  -

  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=100url=/

  ___

  WiX-users mailing list

  [EMAIL PROTECTED]

  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=100url=/
 ___
 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=100url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] WindowsFolder Property is not resolved properly inside merge module

2008-10-15 Thread Rob Mensching
MSI SDK says properties should be modularized.  That's the correct way to use 
them.  When merged there should have been a custom action added to your install 
to set them correctly.  It's a silly design but that is the design.

-Original Message-
From: Swadhin Sonowal [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 15, 2008 01:12
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] WindowsFolder Property is not resolved properly inside 
merge module

Hi

WindowsFolder Property is resolved to empty string inside merge module.

The wix code snippet where it is looking for the standard WindowsFolder 
property is

  util:XmlConfig Id=FirstRemove Action=delete On=install Sequence=1

File=[WindowsFolder]Microsoft.NET\Framework\v2.0.50727\CONFIG\machine.config


When I try to install the msi which is built using the above msm. I get an 
error saying
Unable to find the file Microsoft.NET\Framework\v2.0.50727\CONFIG\machine.config

When I open the msm file using orca, the xmlconfig section shows that the 
WindowsFolder property is being replaced with
[WindowsFolder.MSM_GUID] the MSM guid sections are separated using '_'.

As per my understanding the standard properties like WindowsFolder should not 
be modularized. Please let me know if I am missing any flag indicating wix 
compiler for  not to modularize some standard Property.

Observation:
This behavior is not observed in the wix version 3.0.2921.0 which i used to 
generate MSI's.
In this version the WindowsFolder Property is not modularized and we were able 
to use it inside the msm
When we upgraded the wix toolset with the build 3.0.4323.0 this behavior is 
observed. I tried with 3.0.4429.0 and is behaving in the same way.

If this is a expected behavior then please let me know a way to use Standard 
Properties like WindowsFolder inside an merge module.


Regards
swadhin

_
Want to explore the world? Visit MSN Travel for the best deals.
http://in.msn.com/coxandkings
-
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=100url=/
___
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=100url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] problem about certificate installer

2008-10-15 Thread Rob Mensching
Do the two Components installing the certificate have the same GUid?

-Original Message-
From: Meizhong Wang (Intl Vendor) [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 15, 2008 01:36
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] problem about certificate installer

Hi all,
I found a problem about certificate installer. If I have two 
msi package to install and both of them need to install the same certificates. 
The process of installer is ok, but I got failed when uninstalling. Because 
when uninstalling the first msi package, the certificates have been removed and 
so the second msi package uninstall process is failed.
What're your opinions?

Thanks
Meizhong Wang

-
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=100url=/
___
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=100url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Use of ComponentGroup and Duplicate symbol 'WixComponentGroup:xxx' found.

2008-10-15 Thread Rob Mensching
To be explicit, it appears that you are somehow including your Fragments code 
twice.  Maybe you lit the Fragment.wxs into a .wixlib then added both the 
.wixlib and the Fragment.wxs to the link line?  That would create the problem.

Everything else looks fine.

-Original Message-
From: Eitan Behar [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 15, 2008 08:11
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Use of ComponentGroup and Duplicate symbol 
'WixComponentGroup:xxx' found.

Just for the sake of trying...remove the lib reference, and include the
fragment directly to the project...



On Wed, Oct 15, 2008 at 4:54 PM, Nic Barden [EMAIL PROTECTED] wrote:

 Hi Eitan,



 I am not explicitly referencing it in the wxs file, I simply have a project
 reference to the wixlib file that the project that contains the fragment
 generates.

 This is my understanding of how you should do this, and it will
 automatically get pulled in. Is that correct?



 Cheers



 ---

 Re: [WiX-users] Use of ComponentGroup and Duplicate symbol
 'WixComponentGroup:xxx' found.

 From: Eitan Behar [EMAIL PROTECTED] - 2008-10-15 14:23

 Hi Nic,



 Your code looks right, how are you refering to the wix fragment?



 Rgrds,



 Eitan







  On Wed, Oct 15, 2008 at 3:05 PM, Nic Barden [EMAIL PROTECTED] wrote:



  Hi,

 

  I am trying to wrap my Fragment contents inside a ComponentGroup like

  this forum post says:

 

 

 

 http://n2.nabble.com/Multiple-Wxs-Merge-in-Visual-Studio--td701023.html#a701

  024

 

 

 

  I am still unsure of the best design for this, but I would ideally like
 the

  main installer to be the only place where the APPLICATIONROOTDIRECTORY is

  specified.

 

  So I have one wxs file with a fragment like this:

 

 

 

  Wix xmlns=http://schemas.microsoft.com/wix/2006/wi;

 

  Fragment

 

  ComponentGroup Id=Project1Files 

 

  ComponentRef Id=component1 /

 

  ComponentRef Id= component2 /

 

  /ComponentGroup

 

 

 

  DirectoryRef Id= APPLICATIONROOTDIRECTORY 

 

  Component Id=component1 Guid=F9971885-8150-476C-86AE-EC693A59C8DF

  DiskId=1

 

  ...

 

  /Component

 

  ...

 

  /DirectoryRef

 

  /Fragment

 

  /Wix

 

 

 

 

 

  Then I have the main wxs file like this:

 

 

 

  Product

 

  Directory Id=TARGETDIR Name=SourceDir

 

  Directory Id=ProgramFilesFolder

 

  Directory Id=INSTALLDIR Name=MyCompany

 

  Directory Id=APPLICATIONROOTDIRECTORY

  Name=MyApplication /

 

  /Directory

 

  /Directory

 

  /Directory

 

 

 

  Feature Id=ProductFeature Title=My Application Level=1

  ConfigurableDirectory= APPLICATIONROOTDIRECTORY 

 

  ComponentGroupRef Id= Project1Files  /

 

  /Feature

 

  /Product

 

 

 

  This results in a compilation error: Duplicate symbol

  'WixComponentGroup:Project1Files' found.

 

  What is the issue here - have they been included due to both the

  DirectoryRef and also the Feature? I am not sure how to bundle the

  Components into the ComponentGroup without including them in a directory,

  as

  they expect a directory to be set.

 

  Also, should the Directory Id=APPLICATIONROOTDIRECTORY

  Name=MyApplication / definition contain anything if all the contents

  have

  already been added via the Fragments?

 

 

 

  Thanks

 

  -

  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=100url=/

  ___

  WiX-users mailing list

  [EMAIL PROTECTED]

  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=100url=/
 ___
 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=100url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


-
This 

Re: [WiX-users] Dark Errors on ModuleSignature decompile on MSM created with Microsoft Visual Studio Installer 1.1

2008-10-15 Thread Rob Mensching
Can you please open a bug on the issue.

-Original Message-
From: James Horsley [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 15, 2008 01:54
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Dark Errors on ModuleSignature decompile on MSM created 
with Microsoft Visual Studio Installer 1.1

When decompiling merge modules created by Microsoft Visual Studio Installer
1.1 Dark is giving the following error:
Decompiling the ModuleSignature table.
dark.exe : error DARK0001 : Unable to cast object of type 'System.Int32' to
type 'System.String'.
Exception Type: System.InvalidCastException
Stack Trace:
at
Microsoft.Tools.WindowsInstallerXml.Decompiler.DecompileModuleSignatureTable
(Table table)
at Microsoft.Tools.WindowsInstallerXml.Decompiler.DecompileTables(Output
output)
at Microsoft.Tools.WindowsInstallerXml.Decompiler.Decompile(Output output)
at Microsoft.Tools.WindowsInstallerXml.Tools.Dark.Run(String[] args)
Further analysis shows this is because the schema of the ModuleSignature
table is slightly different to what Dark is expecting - in particular the
Version column is defined as string length 72 Nullable instead of String
length 32 not nullable.
A work around is to edit the offending msm with Orca. Go to ModuleSignature
table, highlight and cut the single row, right click ad Adjust Schema,
change Version to length 32 and remove tick in Nullable, apply and then
paste the single row back and save the msm.
However it would help if Dark was more relaxed about this difference - maybe
reporting a warning - as the data in the columns is fine



-
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=100url=/
___
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=100url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Build from command line

2008-10-15 Thread Alex Ivanoff
Does it mean there is a bug in WiX MSBuild-related stuff or it is not
implemented?


-Original Message-
From: John Hall [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, October 15, 2008 03:29
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Build from command line

 Let me rephrase. How do I specify preprocessor variables when
 I build from command line with MSBuild?

 msbuild myinstall.wixproj /p:???

I've modified by wixproj file to take parameters from the commandline
and pass them into WiX:

You need to add something like this to the BeforeBuild target:

CreateProperty Value=MyVariable=$(MyVariable);$(DefineConstants)
  Output TaskParameter=Value PropertyName=DefineConstants /
/CreateProperty

And then you can do:

msbuild myinstall.wixproj /p:MyVariable=

Regards,
John


-
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=100url=/
___
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=100url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Use of ComponentGroup and Duplicate symbol 'WixComponentGroup:xxx' found.

2008-10-15 Thread John Hall
   ComponentRef Id= component2 /
   DirectoryRef Id= APPLICATIONROOTDIRECTORY 
   ComponentGroupRef Id= Project1Files  /

 To be explicit, it appears that you are somehow including
 your Fragments code twice.  Maybe you lit the Fragment.wxs
 into a .wixlib then added both the .wixlib and the
 Fragment.wxs to the link line?  That would create the problem.

In many places there appear to be spaces inside the Id attributes - could this 
be confusing things?

Regards,
John

-
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=100url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Build from command line

2008-10-15 Thread John Hall
  I've modified by wixproj file to take parameters from the
  commandline and pass them into WiX:

 Does it mean there is a bug in WiX MSBuild-related stuff or
 it is not implemented?

I don't know. I just assumed that they were different things and that you need 
to plumb them together yourself.

Regards,
John

-
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=100url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Create .mst from edited .wixout file (or other wix format file)

2008-10-15 Thread Ulf Jonson
Hi,

I would like to know if this is possible.

I am able to produce a myTransform.wixout file from my
myTransform.mst with dark.exe. Since it contains vaild xml it is
possible to edit some changes. Can I now go back to an .mst file from
the edited .transform.wixout with any of the wix tools.

As I do it now I use Orca to load the msi, then apply the old
transform, make my changes and generate a new transform. But I would
like to to this only by editing a text file (xml) instead.

BR Ulf

-
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=100url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Fwd: Change Default Selection of ComboBox

2008-10-15 Thread Richard

In article [EMAIL PROTECTED],
pavan gadam [EMAIL PROTECTED]  writes:

 Resending...
 
 Any Help???

You're resending after waiting only 4 hours for an answer?  Come on
now, try to have at least a little patience.
-- 
The Direct3D Graphics Pipeline -- DirectX 9 draft available for download
  http://www.xmission.com/~legalize/book/download/index.html

Legalize Adulthood! http://blogs.xmission.com/legalize/

-
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=100url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Using 'foreach' in wixv2

2008-10-15 Thread Mukesh Agrawal
I figured out after reading the wixv2 source code that 'foreach' is inherently 
disabled. Extending the PreprocessorExtension class is a way to achieve this.
Moreover, I found out that, 'foreach only supports direct nesting of a single 
Fragment element or nested foreach statements.'.
Also, with candle.exe, We are supposed to give the Extension_Type (name of the 
class inheriting PreProcessorExtension) with -ext switch and not the name of 
extension dll(as is the case in v3). I ended up Gacing myExtension.dll and the 
referenced wix.dll into the assembly cache for enabling the preprocessor code 
to load the extension type.

This is something which is really cool in wix v3. No hassle.

Thanks

-Original Message-
From: Mukesh Agrawal [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 15, 2008 12:21 AM
To: General discussion for Windows Installer XML toolset.
Subject: [WiX-users] Using 'foreach' in wixv2

Hi All,

?define LcidList=1033;1041;1055?
?foreach LCID in $(var.LcidList)?
Property Id=Property.$(var.LCID) Value=0 /
?endforeach?

I was able to use 'foreach' in wix v3.

But, when I tried using it with v2 I got the following error:

The variable named 'LCID' is not allowed in foreach expression.

In the documentation, I read that only LCID is allowed for v2. Even that does 
not seem to work. Any solution for this.

Thanks
Mukesh

-
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=100url=/
___
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=100url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Problem using FirewallException

2008-10-15 Thread Paul Lalonde
Having compiled and debugged the firewall extension CA, I isolated the  
bug to the GetFirewallProfile() function, which was returning a NULL  
INetFwProfile.

The bug has been fixed in 3.0.4603.  I was using 3.0.4513.   
Unfortunately, 3.0.4603 has its own problems (eg bug #2168111).

So that's that.


Le 08-10-11 à 16:45, Bob Arnson a écrit :

 Paul Lalonde wrote:
 I removed the Assembly and AssemblyApplication attributes as you
 suggested.  The installer was already running with full UI. This is  
 on
 x86.

 Unfortunately, the results were the same: abrupt rollback, no error
 message to the user, and nothing in the log.


 I haven't been able to reproduce this on a 2003 Server SP2 virtual  
 machine.

 MSI (s) (04:C0) [13:38:17:392]: Executing op:
 ActionStart 
 (Name=WixRollbackFirewallExceptionsInstall,Description=Rolling
 back Windows Firewall configuration,)
 MSI (s) (04:C0) [13:38:17:392]: Executing op:
 CustomActionSchedule 
 (Action 
 = 
 WixRollbackFirewallExceptionsInstall 
 ,ActionType 
 = 
 3329 
 ,Source 
 =BinaryData,Target=ExecFirewallExceptions,CustomActionData=1€WiX
 Firewall Application Exception Test01€LocalSubnet€0€2€C:\Program
 Files\WiX Test\z.exe)
 MSI (s) (04:C0) [13:38:17:392]: Executing op:
 ActionStart 
 (Name=WixExecFirewallExceptionsInstall,Description=Installing
 Windows Firewall configuration,)
 MSI (s) (04:C0) [13:38:17:402]: Executing op:
 CustomActionSchedule 
 (Action 
 = 
 WixExecFirewallExceptionsInstall 
 ,ActionType 
 = 
 3073 
 ,Source 
 =BinaryData,Target=ExecFirewallExceptions,CustomActionData=1€WiX
 Firewall Application Exception Test01€LocalSubnet€0€2€C:\Program
 Files\WiX Test\z.exe)

 Can you send me your .msi?

-- 
Paul Lalonde   paullalonde at mac dot com
Il n'y a que les banques qui sont libres -- Jean-Luc Godard



-
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=100url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] problem about certificate installer

2008-10-15 Thread Meizhong Wang (Intl Vendor)
Hi all,
I found a problem about certificate installer. If I have two 
msi package to install and both of them need to install the same certificates. 
The process of installer is ok, but I got failed when uninstalling. Because 
when uninstalling the first msi package, the certificates have been removed and 
so the second msi package uninstall process is failed.
What're your opinions?

Thanks
Meizhong Wang

-
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=100url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Build from command line

2008-10-15 Thread Alex Ivanoff
It still does not work for me. In my case MyVariable has ; in it:

MyBariable=Name1=Value1%3bName2=value2


-Original Message-
From: John Hall [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, October 15, 2008 03:29
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Build from command line

 Let me rephrase. How do I specify preprocessor variables when
 I build from command line with MSBuild?

 msbuild myinstall.wixproj /p:???

I've modified by wixproj file to take parameters from the commandline
and pass them into WiX:

You need to add something like this to the BeforeBuild target:

CreateProperty Value=MyVariable=$(MyVariable);$(DefineConstants)
  Output TaskParameter=Value PropertyName=DefineConstants /
/CreateProperty

And then you can do:

msbuild myinstall.wixproj /p:MyVariable=

Regards,
John


-
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=100url=/
___
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=100url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Build from command line

2008-10-15 Thread John Hall
 Let me rephrase. How do I specify preprocessor variables when
 I build from command line with MSBuild?

 msbuild myinstall.wixproj /p:???

I've modified by wixproj file to take parameters from the commandline and pass 
them into WiX:

You need to add something like this to the BeforeBuild target:

CreateProperty Value=MyVariable=$(MyVariable);$(DefineConstants)
  Output TaskParameter=Value PropertyName=DefineConstants /
/CreateProperty

And then you can do:

msbuild myinstall.wixproj /p:MyVariable=

Regards,
John

-
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=100url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Custom actions failing

2008-10-15 Thread David Bartmess
Can you point me to a resource for information on how to do this? 

Thanks! 

-Original Message-
From: Rob Mensching [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, October 14, 2008 5:31 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Custom actions failing

The Windows Installer does not support installing an MSI inside an MSI.
That's called nested installations.  You need to chain installs
instead... unfortunately, that requires an external program.

-Original Message-
From: David Bartmess [mailto:[EMAIL PROTECTED]
Sent: Tuesday, October 14, 2008 14:17
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Custom actions failing

Oops, forgot the actual CustomAction, sorry...

CustomAction Id=O2003PIA
  BinaryKey=o2003pia.msi
  ExeCommand=
  Execute=immediate
  Return=check
  HideTarget=no
  Impersonate=no /

CustomAction Id=O2007PIA
  BinaryKey=o2007pia.msi
  ExeCommand=
  Execute=immediate
  Return=check
  HideTarget=no
  Impersonate=no /


-Original Message-
From: David Bartmess [mailto:[EMAIL PROTECTED]
Sent: Tuesday, October 14, 2008 3:12 PM
To: General discussion for Windows Installer XML toolset.
Subject: [WiX-users] Custom actions failing

I'm trying to wrap my head around the custom actions, and how to code
them. I've got the following in my fragment, and although it builds
fine, I always get an error about a program required could not be run.

Any suggestions would be helpful and appreciated!

Thanks!



Binary Id=o2007pia.msi SourceFile=Dashboard\Redist\o2007pia.msi/

Binary Id=extensibilityMSM.msi
SourceFile=Dashboard\Redist\extensibilityMSM.msi/

Binary Id=o2003pia.msi SourceFile=Dashboard\Redist\O2003PIA.msi/

InstallExecuteSequence

Custom Action=O2003PIA Before=InstallFinalize(OFFICEVERSION =
Outlook.Application.11) AND Not Installed AND Not
O2003PIAINSTALLED/Custom

Custom Action=O2007PIA Before=InstallFinalize(OFFICEVERSION =
Outlook.Application.12) AND Not Installed AND Not
O2007PIAINSTALLED/Custom

/InstallExecuteSequence

Here's the relative part of the verbose logs...

MSI (s) (04:64) [14:58:07:962]: Executing op:
End(Checksum=0,ProgressTotalHDWord=0,ProgressTotalLDWord=15803510)
MSI (s) (04:64) [14:58:07:977]: User policy value 'DisableRollback' is 0
MSI (s) (04:64) [14:58:07:977]: Machine policy value 'DisableRollback'
is 0
Action 14:58:07: RollbackCleanup. Removing backup files MSI (s) (04:64)
[14:58:07:993]: Calling SRSetRestorePoint API.
dwRestorePtType: 0, dwEventType: 103, llSequenceNumber: 284,
szDescription: .
MSI (s) (04:64) [14:58:07:993]: The call to SRSetRestorePoint API
succeeded. Returned status: 0.
MSI (s) (04:64) [14:58:07:993]: Unlocking Server MSI (s) (04:64)
[14:58:07:993]: PROPERTY CHANGE: Deleting UpdateStarted property. Its
current value is '1'.
Action ended 14:58:07: InstallFinalize. Return value 1.
MSI (s) (04:64) [14:58:07:993]: Doing action: O2003PIA MSI (s) (04:64)
[14:58:07:993]: Note: 1: 2205 2:  3: ActionText Action 14:58:07:
O2003PIA.
Action start 14:58:07: O2003PIA.
MSI (s) (04:64) [14:58:08:431]: Note: 1: 1721 2: O2003PIA 3:
C:\WINDOWS\Installer\MSI2EC6.tmp 4:
MSI (s) (04:64) [14:58:08:431]: Note: 1: 2205 2:  3: Error MSI (s)
(04:64) [14:58:08:431]: Note: 1: 2228 2:  3: Error 4: SELECT `Message`
FROM `Error` WHERE `Error` = 1721 Error 1721. There is a problem with
this Windows Installer package. A program required for this install to
complete could not be run. Contact your support personnel or package
vendor. Action: O2003PIA, location:
C:\WINDOWS\Installer\MSI2EC6.tmp, command:
MSI (s) (04:64) [14:58:16:087]: Note: 1: 2205 2:  3: Error MSI (s)
(04:64) [14:58:16:087]: Note: 1: 2228 2:  3: Error 4: SELECT `Message`
FROM `Error` WHERE `Error` = 1709 MSI (s) (04:64) [14:58:16:087]:
Product: Maestro -- Error 1721. There is a problem with this Windows
Installer package. A program required for this install to complete could
not be run. Contact your support personnel or package vendor. Action:
O2003PIA, location:
C:\WINDOWS\Installer\MSI2EC6.tmp, command:





David Bartmess

Wall Street On Demand

[EMAIL PROTECTED] mailto:[EMAIL PROTECTED]

direct: 303.417. x585

cell: 303.883-9117

fax: 303.444.2586



-
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=100url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


-
This SF.Net email is sponsored 

Re: [WiX-users] Custom actions failing

2008-10-15 Thread Ian Elliott (Excell Data Corporation)
You should be able to Google msi chainer or msi bootstrapper (or something 
similar) and find some information.

There is one free chainer that I have used in the past and that works well 
located at:
http://www.codeproject.com/KB/install/dotNetInstaller.aspx

You can download the source and see how it works. Basically, I think it all 
boils down to calling CreateProcess for each msi you want to install and then 
processing return codes, etc.


-Original Message-
From: David Bartmess [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 15, 2008 10:18 AM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Custom actions failing

Can you point me to a resource for information on how to do this?

Thanks!

-Original Message-
From: Rob Mensching [mailto:[EMAIL PROTECTED]
Sent: Tuesday, October 14, 2008 5:31 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Custom actions failing

The Windows Installer does not support installing an MSI inside an MSI.
That's called nested installations.  You need to chain installs
instead... unfortunately, that requires an external program.

-Original Message-
From: David Bartmess [mailto:[EMAIL PROTECTED]
Sent: Tuesday, October 14, 2008 14:17
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Custom actions failing

Oops, forgot the actual CustomAction, sorry...

CustomAction Id=O2003PIA
  BinaryKey=o2003pia.msi
  ExeCommand=
  Execute=immediate
  Return=check
  HideTarget=no
  Impersonate=no /

CustomAction Id=O2007PIA
  BinaryKey=o2007pia.msi
  ExeCommand=
  Execute=immediate
  Return=check
  HideTarget=no
  Impersonate=no /


-Original Message-
From: David Bartmess [mailto:[EMAIL PROTECTED]
Sent: Tuesday, October 14, 2008 3:12 PM
To: General discussion for Windows Installer XML toolset.
Subject: [WiX-users] Custom actions failing

I'm trying to wrap my head around the custom actions, and how to code
them. I've got the following in my fragment, and although it builds
fine, I always get an error about a program required could not be run.

Any suggestions would be helpful and appreciated!

Thanks!



Binary Id=o2007pia.msi SourceFile=Dashboard\Redist\o2007pia.msi/

Binary Id=extensibilityMSM.msi
SourceFile=Dashboard\Redist\extensibilityMSM.msi/

Binary Id=o2003pia.msi SourceFile=Dashboard\Redist\O2003PIA.msi/

InstallExecuteSequence

Custom Action=O2003PIA Before=InstallFinalize(OFFICEVERSION =
Outlook.Application.11) AND Not Installed AND Not
O2003PIAINSTALLED/Custom

Custom Action=O2007PIA Before=InstallFinalize(OFFICEVERSION =
Outlook.Application.12) AND Not Installed AND Not
O2007PIAINSTALLED/Custom

/InstallExecuteSequence

Here's the relative part of the verbose logs...

MSI (s) (04:64) [14:58:07:962]: Executing op:
End(Checksum=0,ProgressTotalHDWord=0,ProgressTotalLDWord=15803510)
MSI (s) (04:64) [14:58:07:977]: User policy value 'DisableRollback' is 0
MSI (s) (04:64) [14:58:07:977]: Machine policy value 'DisableRollback'
is 0
Action 14:58:07: RollbackCleanup. Removing backup files MSI (s) (04:64)
[14:58:07:993]: Calling SRSetRestorePoint API.
dwRestorePtType: 0, dwEventType: 103, llSequenceNumber: 284,
szDescription: .
MSI (s) (04:64) [14:58:07:993]: The call to SRSetRestorePoint API
succeeded. Returned status: 0.
MSI (s) (04:64) [14:58:07:993]: Unlocking Server MSI (s) (04:64)
[14:58:07:993]: PROPERTY CHANGE: Deleting UpdateStarted property. Its
current value is '1'.
Action ended 14:58:07: InstallFinalize. Return value 1.
MSI (s) (04:64) [14:58:07:993]: Doing action: O2003PIA MSI (s) (04:64)
[14:58:07:993]: Note: 1: 2205 2:  3: ActionText Action 14:58:07:
O2003PIA.
Action start 14:58:07: O2003PIA.
MSI (s) (04:64) [14:58:08:431]: Note: 1: 1721 2: O2003PIA 3:
C:\WINDOWS\Installer\MSI2EC6.tmp 4:
MSI (s) (04:64) [14:58:08:431]: Note: 1: 2205 2:  3: Error MSI (s)
(04:64) [14:58:08:431]: Note: 1: 2228 2:  3: Error 4: SELECT `Message`
FROM `Error` WHERE `Error` = 1721 Error 1721. There is a problem with
this Windows Installer package. A program required for this install to
complete could not be run. Contact your support personnel or package
vendor. Action: O2003PIA, location:
C:\WINDOWS\Installer\MSI2EC6.tmp, command:
MSI (s) (04:64) [14:58:16:087]: Note: 1: 2205 2:  3: Error MSI (s)
(04:64) [14:58:16:087]: Note: 1: 2228 2:  3: Error 4: SELECT `Message`
FROM `Error` WHERE `Error` = 1709 MSI (s) (04:64) [14:58:16:087]:
Product: Maestro -- Error 1721. There is a problem with this Windows
Installer package. A program required for this install to complete could
not be run. Contact your support personnel or package vendor. Action:
O2003PIA, location:
C:\WINDOWS\Installer\MSI2EC6.tmp, command:





David Bartmess

Wall Street On Demand

[EMAIL PROTECTED] mailto:[EMAIL PROTECTED]

direct: 303.417. x585

Re: [WiX-users] Debugging MakeSfxCA

2008-10-15 Thread Tina Basinger
Any other ideas why the custom action might only fail when called from a
merge module?

Thanks!
-Tina

On Tue, Oct 14, 2008 at 4:28 PM, Tina Basinger [EMAIL PROTECTED]wrote:

  All of the code I included is defined in the merge module.  Thus, any
 modularization should occur across all 3 items (custom action definition,
 custom action scheudling in InstallExecuteSequence, and binary definition).

 Looking through Orca at the main install, it seems to be hooked up
 correctly.  The Binary table has a reference to
 BINMAP.DLL.FE2FB413_1E39_4B13_AC8B_A3F8022742C4, and the CustomAction table
 has an Action named InitInstallDIR.FE2FB413_1E39_4B13_AC8B_A3F8022742C4
 defined with a source of BINMAP.DLL.FE2FB413_1E39_4B13_AC8B_A3F8022742C4
 (which matches the binary name).  Then the InstallExecuteSequence table
 schedules an Action named
 InitInstallDIR.FE2FB413_1E39_4B13_AC8B_A3F8022742C4 (which matches the
 custom action name).

 -Tina

   On Tue, Oct 14, 2008 at 4:12 PM, Jason Ginchereau 
 [EMAIL PROTECTED] wrote:

 When you build a merge module, all IDs get modularized (a GUID is
 appended) to avoid naming clashes. So if you have the Binary element defined
 in one module but reference it from another, the modularization won't be
 consistent. If you really want to do that, you'll have to manually append
 the GUID suffix in one place or another. Open the MSI or MSM in Orca to see
 what the modularized IDs look like.


 -Original Message-
 From: Tina Basinger [mailto:[EMAIL PROTECTED]
  Sent: Tuesday, October 14, 2008 11:05 AM
 To: General discussion for Windows Installer XML toolset.
 Subject: Re: [WiX-users] Debugging MakeSfxCA

 So, this only is a problem for custom actions defined and scheduled by my
 merge module.  I have the same custom action assembly with helper assembly
 that is referenced directly by the main install for several custom
 actions,
 and all of those actions work fine.

 My merge module has the custom action defined like this.


 CustomAction Id=InitInstallDIR BinaryKey=BINMAP.DLL DllEntry=
 InitInstallDIR /

 InstallExecuteSequence

 Custom Action=InitInstallDIR After=CostFinalizeNot
 Installed/Custom

 /InstallExecuteSequence

 Binary Id=BINMAP.DLL SourceFile=
 $(env.INETROOT)\distrib\$(env.BUILDTYPE)\Install\MyActions.CA.dll /


 Any idea why it works from the main install, but not the merge module?

 Thanks!
 -Tina
 On Tue, Oct 14, 2008 at 10:47 AM, Jason Ginchereau
 [EMAIL PROTECTED]wrote:

  Make sure you are inserting the correct DLL into the Binary table. That
 DLL
  should be the output of MakeSfxCA, which is the native SfxCA.dll stub
 with
  managed assemblies appended as a cab. Verify it has the expected
 entrypoint
  that MSI is looking for by running dumpbin.exe /exports YourCA.dll.
 Among
  other noise you should see the entrypoint that matches what's in the
 Target
  column of CustomAction table, or in WiX that's that DllEntry attribute
 of
  the CustomAction element.
 
  -Original Message-
  From: Tina Basinger [mailto:[EMAIL PROTECTED]
   Sent: Tuesday, October 14, 2008 7:34 AM
  To: General discussion for Windows Installer XML toolset.
  Subject: Re: [WiX-users] Debugging MakeSfxCA
 
  I am packaging the helper assembly with the custom action by passing it
 as
  the last parameter to MakeSfxCA.
 
  The verbose log has the following around the error message.
  MSI (s) (EC:14) [08:38:00:565]: Doing action:
  InitInstallDIR.FE2FB413_1E39_4B13_AC8B_A3F8022742C4
  Action 8:38:00: InitInstallDIR.FE2FB413_1E39_4B13_AC8B_A3F8022742C4.
  Action start 8:38:00:
 InitInstallDIR.FE2FB413_1E39_4B13_AC8B_A3F8022742C4.
  MSI (s) (EC:10) [08:38:00:569]: Invoking remote custom action. DLL:
  C:\Windows\Installer\MSI2C2A.tmp, Entrypoint: InitInstallDIR
  MSI (s) (EC:88) [08:38:00:570]: Generating random cookie.
  MSI (s) (EC:88) [08:38:00:576]: Created Custom Action Server with PID
 6012
  (0x177C).
  MSI (s) (EC:90) [08:38:00:605]: Running as a service.
  MSI (s) (EC:90) [08:38:00:606]: Hello, I'm your 32bit Impersonated
 custom
  action server.
  MSI (s) (EC:14) [08:38:00:610]: Note: 1: 1723 2:
  InitInstallDIR.FE2FB413_1E39_4B13_AC8B_A3F8022742C4 3: InitInstallDIR 4:
  C:\Windows\Installer\MSI2C2A.tmp
  DEBUG: Error 2835:  The control ErrorIcon was not found on dialog
  SetupError
  Internal Error 2835. ErrorIcon, SetupError
  Error 1723.There is a problem with this Windows Installer package. A DLL
  required for this install to complete could not be run. Contact your
  support
  personnel or package vendor.  Action
  InitInstallDIR.FE2FB413_1E39_4B13_AC8B_A3F8022742C4, entry:
 InitInstallDIR,
  library: C:\Windows\Installer\MSI2C2A.tmp
  MSI (s) (EC:14) [08:38:09:138]: Product: MyProduct -- Error 1723.There
 is a
  problem with this Windows Installer package. A DLL required for this
  install
  to complete could not be run. Contact your support personnel or package
  vendor.  Action InitInstallDIR.FE2FB413_1E39_4B13_AC8B_A3F8022742C4,
 entry:
  InitInstallDIR, library: 

[WiX-users] Dark Errors on ModuleSignature decompile on MSM created with Microsoft Visual Studio Installer 1.1

2008-10-15 Thread James Horsley
When decompiling merge modules created by Microsoft Visual Studio Installer
1.1 Dark is giving the following error: 
Decompiling the ModuleSignature table. 
dark.exe : error DARK0001 : Unable to cast object of type 'System.Int32' to
type 'System.String'. 
Exception Type: System.InvalidCastException 
Stack Trace: 
at
Microsoft.Tools.WindowsInstallerXml.Decompiler.DecompileModuleSignatureTable
(Table table) 
at Microsoft.Tools.WindowsInstallerXml.Decompiler.DecompileTables(Output
output) 
at Microsoft.Tools.WindowsInstallerXml.Decompiler.Decompile(Output output) 
at Microsoft.Tools.WindowsInstallerXml.Tools.Dark.Run(String[] args) 
Further analysis shows this is because the schema of the ModuleSignature
table is slightly different to what Dark is expecting - in particular the
Version column is defined as string length 72 Nullable instead of String
length 32 not nullable.
A work around is to edit the offending msm with Orca. Go to ModuleSignature
table, highlight and cut the single row, right click ad Adjust Schema,
change Version to length 32 and remove tick in Nullable, apply and then
paste the single row back and save the msm.
However it would help if Dark was more relaxed about this difference - maybe
reporting a warning - as the data in the columns is fine



-
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=100url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Looking for an Msixxxxx Property

2008-10-15 Thread cemiles

I'm trying to extend WiX at the product/fragment level w/ a new extension.

The hangup is, I'm trying to institute some Remove flags:

A) RemoveOnUninstall
B) RemainsOnMajorUpgrade
C) Never Remove

I've seen properties that get the component state (assume we're extending at
the file level) like so:

MsiGetComponentState(hInstall, component, installed, action)
.
.
.

My question is: Is there a property that can determine the install-state of
the Product/Fragment like (Uninstall/MajorUpgrade/etc.)?
-- 
View this message in context: 
http://n2.nabble.com/Looking-for-an-Msix-Property-tp1338060p1338060.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=100url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Does this violate component rules?

2008-10-15 Thread Ben Greenberg
Thanks.

Let's say that Product A is installed and installs version 1.0 of 
Shared.dll to \path\to\A.  Then, later, product B is installed and 
installs version 1.1 of Shared.dll to \path\to\B (same component, 
different directory).  Will WI update the other copy of the file to 1.1 
or will it remain at 1.0?

Thanks
Ben


Rob Mensching wrote:
 No.  Components installed in different directories is handled by the Windows 
 Installer.  As long as the Components have the same Resources the reference 
 counting is correct.

 -Original Message-
 From: Ben Greenberg [mailto:[EMAIL PROTECTED]
 Sent: Tuesday, October 14, 2008 15:55
 To: General discussion for Windows Installer XML toolset.
 Subject: [WiX-users] Does this violate component rules?

 A shared component defined in a merge module is included in two
 different packages, but the two packages install the same component into
 different directories.  So there are two copies of the same component
 out the system, and two entries in the DB (according to msiinv).

 Not directly a WiX question, I know, but the community is great on this
 list.

 Thanks,
 Ben



 -
 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=100url=/
 ___
 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=100url=/
 ___
 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=100url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] XmlConfig to delete multiple nodes...

2008-10-15 Thread Amy Rosewater
Hi All,

 

Does anyone know, if you use a function like contains() in your xpath
query for VerifyPath when deleting with XmlConfig, and multiple nodes
match the statement, will it delete them all?

 

Amy

 

Amy Rosewater

SPECTRUM Human Resource Systems Corporation

707 17th Street Suite 3800

Denver CO, 80202

303.592.3403

[EMAIL PROTECTED]

 

-
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=100url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] WcaGetProperty and memory management

2008-10-15 Thread Alex Ivanoff
How do you free memory allocated by WcaGetProperty (build 3.0.4603.0)?

-
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=100url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] XmlConfig to delete multiple nodes...

2008-10-15 Thread Rob Mensching
Doubt it.  I *think* XmlConfig uses selectSingleNode... but you could try it 
and be sure.

-Original Message-
From: Amy Rosewater [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 15, 2008 13:08
To: General discussion for Windows Installer XML toolset.
Subject: [WiX-users] XmlConfig to delete multiple nodes...

Hi All,



Does anyone know, if you use a function like contains() in your xpath
query for VerifyPath when deleting with XmlConfig, and multiple nodes
match the statement, will it delete them all?



Amy



Amy Rosewater

SPECTRUM Human Resource Systems Corporation

707 17th Street Suite 3800

Denver CO, 80202

303.592.3403

[EMAIL PROTECTED]



-
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=100url=/
___
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=100url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Does this violate component rules?

2008-10-15 Thread Rob Mensching
Neither Product will update the other's file because the KeyPath's end up 
different.  You could even change the GUIDs assuming the Directories will never 
be the same (they seem to be different in your example).

-Original Message-
From: Ben Greenberg [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 15, 2008 12:55
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Does this violate component rules?

Thanks.

Let's say that Product A is installed and installs version 1.0 of
Shared.dll to \path\to\A.  Then, later, product B is installed and
installs version 1.1 of Shared.dll to \path\to\B (same component,
different directory).  Will WI update the other copy of the file to 1.1
or will it remain at 1.0?

Thanks
Ben


Rob Mensching wrote:
 No.  Components installed in different directories is handled by the Windows 
 Installer.  As long as the Components have the same Resources the reference 
 counting is correct.

 -Original Message-
 From: Ben Greenberg [mailto:[EMAIL PROTECTED]
 Sent: Tuesday, October 14, 2008 15:55
 To: General discussion for Windows Installer XML toolset.
 Subject: [WiX-users] Does this violate component rules?

 A shared component defined in a merge module is included in two
 different packages, but the two packages install the same component into
 different directories.  So there are two copies of the same component
 out the system, and two entries in the DB (according to msiinv).

 Not directly a WiX question, I know, but the community is great on this
 list.

 Thanks,
 Ben



 -
 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=100url=/
 ___
 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=100url=/
 ___
 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=100url=/
___
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=100url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Regarding Customizr errors

2008-10-15 Thread Sandeep Gautam (HCL Technologies Ltd)
Hi,

While doing installation if some error comes then some predefined related 
errors are coming. How can we give our own customize errors?

Regards
Sandeep
-
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=100url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Change Default Selection of ComboBox

2008-10-15 Thread Richard

In article [EMAIL PROTECTED],
pavan gadam [EMAIL PROTECTED]  writes:

 All the items appear in the combobox when i click on drop down. By default
 ComboBox shows blank and none of them is selected. How can we achieve this?

Set the combo box's property to the appropriate value for the default
selection.
-- 
The Direct3D Graphics Pipeline -- DirectX 9 draft available for download
  http://www.xmission.com/~legalize/book/download/index.html

Legalize Adulthood! http://blogs.xmission.com/legalize/

-
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=100url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Regarding Customizr errors

2008-10-15 Thread Rob Mensching
Error/ ?

-Original Message-
From: Sandeep Gautam (HCL Technologies Ltd) [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 15, 2008 16:08
To: General discussion for Windows Installer XML toolset.
Subject: [WiX-users] Regarding Customizr errors

Hi,

While doing installation if some error comes then some predefined related 
errors are coming. How can we give our own customize errors?

Regards
Sandeep
-
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=100url=/
___
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=100url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Regarding Customizr errors

2008-10-15 Thread Sandeep Gautam (HCL Technologies Ltd)
Thanks for reply. My scenario is like : Suppose I am installing DB and that DB 
already exists then wix is showing one long error. Instead of this, I want to 
give graceful error. I can define error in Error tag with one error id but how 
I will linked with this error id on particular  error.

Regards
Sandeep

-Original Message-
From: Rob Mensching [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 15, 2008 4:45 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Regarding Customizr errors

Error/ ?

-Original Message-
From: Sandeep Gautam (HCL Technologies Ltd) [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 15, 2008 16:08
To: General discussion for Windows Installer XML toolset.
Subject: [WiX-users] Regarding Customizr errors

Hi,

While doing installation if some error comes then some predefined related 
errors are coming. How can we give our own customize errors?

Regards
Sandeep
-
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=100url=/
___
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=100url=/
___
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=100url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Change Default Selection of ComboBox

2008-10-15 Thread pavan gadam
I was able to do it. But is there a way where we can display some message in
the dialog when the ComboBox default selection is changed by user, without
reloading the dialog using twin dialog.
-
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=100url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Fwd: Change Default Selection of ComboBox

2008-10-15 Thread pavan gadam
Did not notice the time i had sent... My apologies for resending that
early..
-
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=100url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users