Re: [WiX-users] DTE OutputFileName vs OutputName - possible wix bug?

2011-07-18 Thread Christoph Goetz
Hi,
my installation should only start if an environment variable is set.
But my installation start every time? 
I just want to check if the environment is set and not if it is set to an
specific value.

For example:

  

  ?if $(env.testdir)?

Directory Id=TARGETDIR Name=SourceDir
  
 
 Directory Id=ProgramFiles64Folder
Directory Id=INSTALLDIR
   Name=Test / 
  

 ...   

   
Feature Id=ProductFeature 
 Title=test 
 Level=1
 
...

   ?else?
?error Test must be set!?
   ?endif?

Christoph



--
AppSumo Presents a FREE Video for the SourceForge Community by Eric 
Ries, the creator of the Lean Startup Methodology on Lean Startup 
Secrets Revealed. This video shows you how to validate your ideas, 
optimize your ideas and identify your business strategy.
http://p.sf.net/sfu/appsumosfdev2dev
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Problems with the environment variable

2011-07-18 Thread Christoph Goetz
Sorry

-Ursprüngliche Nachricht-
Von: Christoph Goetz [mailto:christoph.go...@giepa.de] 
Gesendet: Montag, 18. Juli 2011 09:42
An: 'General discussion for Windows Installer XML toolset.'
Betreff: Re: [WiX-users] DTE OutputFileName vs OutputName - possible wix
bug?

Hi,
my installation should only start if an environment variable is set.
But my installation start every time? 
I just want to check if the environment is set and not if it is set to an
specific value.

For example:

  

  ?if $(env.testdir)?

Directory Id=TARGETDIR Name=SourceDir
  
 
 Directory Id=ProgramFiles64Folder
Directory Id=INSTALLDIR
   Name=Test / 
  

 ...   

   
Feature Id=ProductFeature 
 Title=test 
 Level=1
 
...

   ?else?
?error Test must be set!?
   ?endif?

Christoph




--
AppSumo Presents a FREE Video for the SourceForge Community by Eric 
Ries, the creator of the Lean Startup Methodology on Lean Startup 
Secrets Revealed. This video shows you how to validate your ideas, 
optimize your ideas and identify your business strategy.
http://p.sf.net/sfu/appsumosfdev2dev
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users




--
AppSumo Presents a FREE Video for the SourceForge Community by Eric 
Ries, the creator of the Lean Startup Methodology on Lean Startup 
Secrets Revealed. This video shows you how to validate your ideas, 
optimize your ideas and identify your business strategy.
http://p.sf.net/sfu/appsumosfdev2dev
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Problems with the environment variable

2011-07-18 Thread Peter Shirtcliffe
$(...) variables are evaluated at build-time by the preprocessor.
For a run-time check, you want something like:

Condition Message=Test must be set.![CDATA[ 
[%testdir]   
]]/Condition

http://msdn.microsoft.com/en-us/library/aa368012%28v=VS.85%29.aspx


-Original Message-
From: Christoph Goetz [mailto:christoph.go...@giepa.de] 
Sent: 18 July 2011 08:45
To: 'General discussion for Windows Installer XML toolset.'
Subject: [WiX-users] Problems with the environment variable

Sorry

-Ursprüngliche Nachricht-
Von: Christoph Goetz [mailto:christoph.go...@giepa.de] 
Gesendet: Montag, 18. Juli 2011 09:42
An: 'General discussion for Windows Installer XML toolset.'
Betreff: Re: [WiX-users] DTE OutputFileName vs OutputName - possible wix
bug?

Hi,
my installation should only start if an environment variable is set.
But my installation start every time? 
I just want to check if the environment is set and not if it is set to an
specific value.

For example:

  

  ?if $(env.testdir)?

Directory Id=TARGETDIR Name=SourceDir
  
 
 Directory Id=ProgramFiles64Folder
Directory Id=INSTALLDIR
   Name=Test / 
  

 ...   

   
Feature Id=ProductFeature 
 Title=test 
 Level=1
 
...

   ?else?
?error Test must be set!?
   ?endif?

Christoph




--
AppSumo Presents a FREE Video for the SourceForge Community by Eric 
Ries, the creator of the Lean Startup Methodology on Lean Startup 
Secrets Revealed. This video shows you how to validate your ideas, 
optimize your ideas and identify your business strategy.
http://p.sf.net/sfu/appsumosfdev2dev
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users




-
-
AppSumo Presents a FREE Video for the SourceForge Community by Eric 
Ries, the creator of the Lean Startup Methodology on Lean Startup 
Secrets Revealed. This video shows you how to validate your ideas, 
optimize your ideas and identify your business strategy.
http://p.sf.net/sfu/appsumosfdev2dev
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users
SDL PLC confidential, all rights reserved.
If you are not the intended recipient of this mail SDL requests and requires 
that you delete it without acting upon or copying any of its contents, and we 
further request that you advise us.
SDL PLC is a public limited company registered in England and Wales.  
Registered number: 02675207.
Registered address: Globe House, Clivemont Road, Maidenhead, Berkshire SL6 7DY, 
UK.


--
AppSumo Presents a FREE Video for the SourceForge Community by Eric 
Ries, the creator of the Lean Startup Methodology on Lean Startup 
Secrets Revealed. This video shows you how to validate your ideas, 
optimize your ideas and identify your business strategy.
http://p.sf.net/sfu/appsumosfdev2dev
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Unable to execute SQL script from patch

2011-07-18 Thread Nangai
Hi,

I am unable to execute sql script while uninstalling the patch. I am using
visual studio development environment to create installer setup and manually
update to make it compatible with wix and create patch. I am importing
custom actions from sqlextension class. but could not be able to run sql
script from patch install and uninstall. Any help will be appreciated. I am
using wix3.5

--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Unable-to-execute-SQL-script-from-patch-tp6593861p6593861.html
Sent from the wix-users mailing list archive at Nabble.com.

--
AppSumo Presents a FREE Video for the SourceForge Community by Eric 
Ries, the creator of the Lean Startup Methodology on Lean Startup 
Secrets Revealed. This video shows you how to validate your ideas, 
optimize your ideas and identify your business strategy.
http://p.sf.net/sfu/appsumosfdev2dev
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Unable to execute SQL script from patch

2011-07-18 Thread Peter Shirtcliffe
Is the SQL script present only in the patch that is being removed ? If so, it
won't work because the script is not visible to the installer when it is
being uninstalled.
There's more information about it, including workarounds, here
http://msdn.microsoft.com/en-us/library/aa370739%28v=vs.85%29.aspx


-Original Message-
From: Nangai [mailto:thangananga...@iinterchange.com] 
Sent: 18 July 2011 09:28
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Unable to execute SQL script from patch

Hi,

I am unable to execute sql script while uninstalling the patch. I am using
visual studio development environment to create installer setup and manually
update to make it compatible with wix and create patch. I am importing
custom actions from sqlextension class. but could not be able to run sql
script from patch install and uninstall. Any help will be appreciated. I am
using wix3.5

--
View this message in context:
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Unable-to-execu
te-SQL-script-from-patch-tp6593861p6593861.html
Sent from the wix-users mailing list archive at Nabble.com.

-
-
AppSumo Presents a FREE Video for the SourceForge Community by Eric 
Ries, the creator of the Lean Startup Methodology on Lean Startup 
Secrets Revealed. This video shows you how to validate your ideas, 
optimize your ideas and identify your business strategy.
http://p.sf.net/sfu/appsumosfdev2dev
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users
SDL PLC confidential, all rights reserved.
If you are not the intended recipient of this mail SDL requests and requires 
that you delete it without acting upon or copying any of its contents, and we 
further request that you advise us.
SDL PLC is a public limited company registered in England and Wales.  
Registered number: 02675207.
Registered address: Globe House, Clivemont Road, Maidenhead, Berkshire SL6 7DY, 
UK.


--
AppSumo Presents a FREE Video for the SourceForge Community by Eric 
Ries, the creator of the Lean Startup Methodology on Lean Startup 
Secrets Revealed. This video shows you how to validate your ideas, 
optimize your ideas and identify your business strategy.
http://p.sf.net/sfu/appsumosfdev2dev
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Problems with the environment variable

2011-07-18 Thread Christoph Goetz
Thanks,
does your Condition not require that testdir exists?
Because it does not. Only after another installation testdir exist.
That means that only then the installation should start.
Christoph

-Ursprüngliche Nachricht-
Von: Peter Shirtcliffe [mailto:pshirtcli...@sdl.com] 
Gesendet: Montag, 18. Juli 2011 10:41
An: General discussion for Windows Installer XML toolset.
Betreff: Re: [WiX-users] Problems with the environment variable

$(...) variables are evaluated at build-time by the preprocessor.
For a run-time check, you want something like:

Condition Message=Test must be set.![CDATA[ 
[%testdir]   
]]/Condition

http://msdn.microsoft.com/en-us/library/aa368012%28v=VS.85%29.aspx


-Original Message-
From: Christoph Goetz [mailto:christoph.go...@giepa.de] 
Sent: 18 July 2011 08:45
To: 'General discussion for Windows Installer XML toolset.'
Subject: [WiX-users] Problems with the environment variable

Sorry

-Ursprüngliche Nachricht-
Von: Christoph Goetz [mailto:christoph.go...@giepa.de] 
Gesendet: Montag, 18. Juli 2011 09:42
An: 'General discussion for Windows Installer XML toolset.'
Betreff: Re: [WiX-users] DTE OutputFileName vs OutputName - possible wix
bug?

Hi,
my installation should only start if an environment variable is set.
But my installation start every time? 
I just want to check if the environment is set and not if it is set to an
specific value.

For example:

  

  ?if $(env.testdir)?

Directory Id=TARGETDIR Name=SourceDir
  
 
 Directory Id=ProgramFiles64Folder
Directory Id=INSTALLDIR
   Name=Test / 
  

 ...   

   
Feature Id=ProductFeature 
 Title=test 
 Level=1
 
...

   ?else?
?error Test must be set!?
   ?endif?

Christoph




--
AppSumo Presents a FREE Video for the SourceForge Community by Eric 
Ries, the creator of the Lean Startup Methodology on Lean Startup 
Secrets Revealed. This video shows you how to validate your ideas, 
optimize your ideas and identify your business strategy.
http://p.sf.net/sfu/appsumosfdev2dev
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users





-
-
AppSumo Presents a FREE Video for the SourceForge Community by Eric 
Ries, the creator of the Lean Startup Methodology on Lean Startup 
Secrets Revealed. This video shows you how to validate your ideas, 
optimize your ideas and identify your business strategy.
http://p.sf.net/sfu/appsumosfdev2dev
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users
SDL PLC confidential, all rights reserved.
If you are not the intended recipient of this mail SDL requests and requires
that you delete it without acting upon or copying any of its contents, and
we further request that you advise us.
SDL PLC is a public limited company registered in England and Wales.
Registered number: 02675207.
Registered address: Globe House, Clivemont Road, Maidenhead, Berkshire SL6
7DY, UK.



--
AppSumo Presents a FREE Video for the SourceForge Community by Eric 
Ries, the creator of the Lean Startup Methodology on Lean Startup 
Secrets Revealed. This video shows you how to validate your ideas, 
optimize your ideas and identify your business strategy.
http://p.sf.net/sfu/appsumosfdev2dev
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users




--
AppSumo Presents a FREE Video for the SourceForge Community by Eric 
Ries, the creator of the Lean Startup Methodology on Lean Startup 
Secrets Revealed. This video shows you how to validate your ideas, 
optimize your ideas and identify your business strategy.
http://p.sf.net/sfu/appsumosfdev2dev
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Problems with the environment variable

2011-07-18 Thread Peter Shirtcliffe
That is what it tests. I'm not entirely sure what you're trying to do
otherwise.

-Original Message-
From: Christoph Goetz [mailto:christoph.go...@giepa.de] 
Sent: 18 July 2011 11:08
To: 'General discussion for Windows Installer XML toolset.'
Subject: Re: [WiX-users] Problems with the environment variable

Thanks,
does your Condition not require that testdir exists?
Because it does not. Only after another installation testdir exist.
That means that only then the installation should start.
Christoph

-Ursprüngliche Nachricht-
Von: Peter Shirtcliffe [mailto:pshirtcli...@sdl.com] 
Gesendet: Montag, 18. Juli 2011 10:41
An: General discussion for Windows Installer XML toolset.
Betreff: Re: [WiX-users] Problems with the environment variable

$(...) variables are evaluated at build-time by the preprocessor.
For a run-time check, you want something like:

Condition Message=Test must be set.![CDATA[ 
[%testdir]   
]]/Condition

http://msdn.microsoft.com/en-us/library/aa368012%28v=VS.85%29.aspx


-Original Message-
From: Christoph Goetz [mailto:christoph.go...@giepa.de] 
Sent: 18 July 2011 08:45
To: 'General discussion for Windows Installer XML toolset.'
Subject: [WiX-users] Problems with the environment variable

Sorry

-Ursprüngliche Nachricht-
Von: Christoph Goetz [mailto:christoph.go...@giepa.de] 
Gesendet: Montag, 18. Juli 2011 09:42
An: 'General discussion for Windows Installer XML toolset.'
Betreff: Re: [WiX-users] DTE OutputFileName vs OutputName - possible wix
bug?

Hi,
my installation should only start if an environment variable is set.
But my installation start every time? 
I just want to check if the environment is set and not if it is set to an
specific value.

For example:

  

  ?if $(env.testdir)?

Directory Id=TARGETDIR Name=SourceDir
  
 
 Directory Id=ProgramFiles64Folder
Directory Id=INSTALLDIR
   Name=Test / 
  

 ...   

   
Feature Id=ProductFeature 
 Title=test 
 Level=1
 
...

   ?else?
?error Test must be set!?
   ?endif?

Christoph




--
AppSumo Presents a FREE Video for the SourceForge Community by Eric 
Ries, the creator of the Lean Startup Methodology on Lean Startup 
Secrets Revealed. This video shows you how to validate your ideas, 
optimize your ideas and identify your business strategy.
http://p.sf.net/sfu/appsumosfdev2dev
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users





-
-
AppSumo Presents a FREE Video for the SourceForge Community by Eric 
Ries, the creator of the Lean Startup Methodology on Lean Startup 
Secrets Revealed. This video shows you how to validate your ideas, 
optimize your ideas and identify your business strategy.
http://p.sf.net/sfu/appsumosfdev2dev
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users
SDL PLC confidential, all rights reserved.
If you are not the intended recipient of this mail SDL requests and requires
that you delete it without acting upon or copying any of its contents, and
we further request that you advise us.
SDL PLC is a public limited company registered in England and Wales.
Registered number: 02675207.
Registered address: Globe House, Clivemont Road, Maidenhead, Berkshire SL6
7DY, UK.



--
AppSumo Presents a FREE Video for the SourceForge Community by Eric 
Ries, the creator of the Lean Startup Methodology on Lean Startup 
Secrets Revealed. This video shows you how to validate your ideas, 
optimize your ideas and identify your business strategy.
http://p.sf.net/sfu/appsumosfdev2dev
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users




-
-
AppSumo Presents a FREE Video for the SourceForge Community by Eric 
Ries, the creator of the Lean Startup Methodology on Lean Startup 
Secrets Revealed. This video shows you how to validate your ideas, 
optimize your ideas and identify your business strategy.
http://p.sf.net/sfu/appsumosfdev2dev
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

--
AppSumo Presents a FREE Video for the SourceForge Community by Eric 
Ries, the creator of the Lean Startup Methodology on Lean Startup 
Secrets Revealed. This video shows you how to validate your ideas, 

Re: [WiX-users] How to burn petrified wood? Upgrading from VS 2005 to 2010

2011-07-18 Thread Pally Sandher
I don't think there is an upgrade from v2.0 .wixproj to v3.x. Votive was very 
much experimental  unsupported in WiX v2.0.

You're probably better off creating new .wixproj files in v3.5 as it's pretty 
quick to do.

Palbinder Sandher 
Software Deployment Engineer
T: +44 (0) 141 945 8500 
F: +44 (0) 141 945 8501 

http://www.iesve.com 
**Design, Simulate + Innovate with the Virtual Environment**
Integrated Environmental Solutions Limited. Registered in Scotland No. SC151456 
Registered Office - Helix Building, West Of Scotland Science Park, Glasgow G20 
0SP
Email Disclaimer
-Original Message-
From: Mark Modrall [mailto:mmodr...@mzinga.com] 
Sent: 17 July 2011 15:16
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] How to burn petrified wood? Upgrading from VS 2005 to 
2010

I had been running msbuild to product my msis and it wasn't throwing any 
errors, but now I went into my solution using the IDE (both 2005 and 2010).  In 
both I get the error that I have to use the IDE to upgrade my .wixproj  (2.0) 
files but in the IDE it just says all the projects are (unavailable).  I'm not 
prompted for upgrade nor does VS appear to do them.

It 2.0 = 3.5 just too big a jump for automated upgrade?

Thanks
Mark


-Original Message-
From: Rob Mensching [mailto:r...@robmensching.com] 
Sent: Saturday, July 16, 2011 1:03 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] How to burn petrified wood? Upgrading from VS 2005 to 
2010

The Windows Installer Error Message
http://msdn.microsoft.com/en-us/library/aa372835(VS.85).aspx says:


2756

The property '[2]' was used as a directory property in one or more tables,
but no value was ever assigned.


That suggest something is wrong in your MSI. A verbose log file will
probalby tell you more.



On Fri, Jul 15, 2011 at 2:39 PM, Mark Modrall mmodr...@mzinga.com wrote:

 Hi everybody...

I imagine I'll take some flak for this, but we still have
 installers being cobbled together by Wix 2.0.

 Recently I was tasked with upgrading our product builds from VS 2005 to VS
 2010 (and moving our production environment from Windows Server 2003 to
 2008).  I just got all the product build converted and running under VS 2010
 (with a side nightmare thanks to Sourcegear Vault).  My Wix project cranked
 out .msis without complaint.

But when I went to install the msi on Windows 2008, it threw
 an exception 2765.  Not a lot of information on what the problem is.  Not
 sure if it's some kind of difference between W2003 and 2008, the version of
 the msi installer on the os or what.  It did say there was one specific
 merge module at the time, a .net assembly that was going to be put in the
 gac.

I'd run Wix under VS 2005 figuring that the bundling of the
 build product didn't need to be upgraded, but to start eliminating variables
 I upgraded the Wix solution to VS 2010 and tried the msi outcome of that.
  Same error.

I went to install Wix 3 (baby steps), but that installer
 still only offered VS 2005 integration.

I haven't worked with Windows Server 2008 much and I haven't
 seen this installer error before.  Is this a Wix compatibility issue or an
 OS issue?

 Thanks
 Mark


 --
 AppSumo Presents a FREE Video for the SourceForge Community by Eric
 Ries, the creator of the Lean Startup Methodology on Lean Startup
 Secrets Revealed. This video shows you how to validate your ideas,
 optimize your ideas and identify your business strategy.
 http://p.sf.net/sfu/appsumosfdev2dev
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users


--
AppSumo Presents a FREE Video for the SourceForge Community by Eric 
Ries, the creator of the Lean Startup Methodology on Lean Startup 
Secrets Revealed. This video shows you how to validate your ideas, 
optimize your ideas and identify your business strategy.
http://p.sf.net/sfu/appsumosfdev2dev
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

--
AppSumo Presents a FREE Video for the SourceForge Community by Eric 
Ries, the creator of the Lean Startup Methodology on Lean Startup 
Secrets Revealed. This video shows you how to validate your ideas, 
optimize your ideas and identify your business strategy.
http://p.sf.net/sfu/appsumosfdev2dev
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users




Re: [WiX-users] Problems with the environment variable

2011-07-18 Thread Christoph Goetz
I tried it your way, but nothing happens.
The installation just runs even if [%testdir] doesn´t exist.
Where does the condition has to stay in the wix code?

-Ursprüngliche Nachricht-
Von: Peter Shirtcliffe [mailto:pshirtcli...@sdl.com] 
Gesendet: Montag, 18. Juli 2011 12:18
An: General discussion for Windows Installer XML toolset.
Betreff: Re: [WiX-users] Problems with the environment variable

That is what it tests. I'm not entirely sure what you're trying to do
otherwise.

-Original Message-
From: Christoph Goetz [mailto:christoph.go...@giepa.de] 
Sent: 18 July 2011 11:08
To: 'General discussion for Windows Installer XML toolset.'
Subject: Re: [WiX-users] Problems with the environment variable

Thanks,
does your Condition not require that testdir exists?
Because it does not. Only after another installation testdir exist.
That means that only then the installation should start.
Christoph

-Ursprüngliche Nachricht-
Von: Peter Shirtcliffe [mailto:pshirtcli...@sdl.com] 
Gesendet: Montag, 18. Juli 2011 10:41
An: General discussion for Windows Installer XML toolset.
Betreff: Re: [WiX-users] Problems with the environment variable

$(...) variables are evaluated at build-time by the preprocessor.
For a run-time check, you want something like:

Condition Message=Test must be set.![CDATA[ 
[%testdir]   
]]/Condition

http://msdn.microsoft.com/en-us/library/aa368012%28v=VS.85%29.aspx


-Original Message-
From: Christoph Goetz [mailto:christoph.go...@giepa.de] 
Sent: 18 July 2011 08:45
To: 'General discussion for Windows Installer XML toolset.'
Subject: [WiX-users] Problems with the environment variable

Sorry

-Ursprüngliche Nachricht-
Von: Christoph Goetz [mailto:christoph.go...@giepa.de] 
Gesendet: Montag, 18. Juli 2011 09:42
An: 'General discussion for Windows Installer XML toolset.'
Betreff: Re: [WiX-users] DTE OutputFileName vs OutputName - possible wix
bug?

Hi,
my installation should only start if an environment variable is set.
But my installation start every time? 
I just want to check if the environment is set and not if it is set to an
specific value.

For example:

  

  ?if $(env.testdir)?

Directory Id=TARGETDIR Name=SourceDir
  
 
 Directory Id=ProgramFiles64Folder
Directory Id=INSTALLDIR
   Name=Test / 
  

 ...   

   
Feature Id=ProductFeature 
 Title=test 
 Level=1
 
...

   ?else?
?error Test must be set!?
   ?endif?

Christoph




--
AppSumo Presents a FREE Video for the SourceForge Community by Eric 
Ries, the creator of the Lean Startup Methodology on Lean Startup 
Secrets Revealed. This video shows you how to validate your ideas, 
optimize your ideas and identify your business strategy.
http://p.sf.net/sfu/appsumosfdev2dev
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users





-
-
AppSumo Presents a FREE Video for the SourceForge Community by Eric 
Ries, the creator of the Lean Startup Methodology on Lean Startup 
Secrets Revealed. This video shows you how to validate your ideas, 
optimize your ideas and identify your business strategy.
http://p.sf.net/sfu/appsumosfdev2dev
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users
SDL PLC confidential, all rights reserved.
If you are not the intended recipient of this mail SDL requests and requires
that you delete it without acting upon or copying any of its contents, and
we further request that you advise us.
SDL PLC is a public limited company registered in England and Wales.
Registered number: 02675207.
Registered address: Globe House, Clivemont Road, Maidenhead, Berkshire SL6
7DY, UK.



--
AppSumo Presents a FREE Video for the SourceForge Community by Eric 
Ries, the creator of the Lean Startup Methodology on Lean Startup 
Secrets Revealed. This video shows you how to validate your ideas, 
optimize your ideas and identify your business strategy.
http://p.sf.net/sfu/appsumosfdev2dev
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users





-
-
AppSumo Presents a FREE Video for the SourceForge Community by Eric 
Ries, the creator of the Lean Startup Methodology on Lean Startup 
Secrets Revealed. This video shows you how to validate your ideas, 
optimize your ideas and identify your business strategy.
http://p.sf.net/sfu/appsumosfdev2dev

Re: [WiX-users] Problems with the environment variable

2011-07-18 Thread Tobias S
Interesting approach even checking against a environment property in a
LaunchCondition. Didn't know Windows Installer can do that by default
with using %.

Actually the code sample gives me an
ICE03: Bad conditional string; Table: LaunchCondition, Column:
Condition, Key(s): [%testdir]  

This I could fix with removing 2 brackets:
Condition Message=Test must be set.
  ![CDATA[%testdir  ]]
/Condition

Afterwards the installer as expected. Runs when set
testdir=c:\someTestDir and aborts if launchCon is not fulfilled.

Regarding parent and child elements have a look at
http://wix.sourceforge.net/manual-wix3/wix_xsd_condition.htm



2011/7/18 Christoph Goetz christoph.go...@giepa.de:
 I tried it your way, but nothing happens.
 The installation just runs even if [%testdir] doesn´t exist.
 Where does the condition has to stay in the wix code?

 -Ursprüngliche Nachricht-
 Von: Peter Shirtcliffe [mailto:pshirtcli...@sdl.com]
 Gesendet: Montag, 18. Juli 2011 12:18
 An: General discussion for Windows Installer XML toolset.
 Betreff: Re: [WiX-users] Problems with the environment variable

 That is what it tests. I'm not entirely sure what you're trying to do
 otherwise.

 -Original Message-
 From: Christoph Goetz [mailto:christoph.go...@giepa.de]
 Sent: 18 July 2011 11:08
 To: 'General discussion for Windows Installer XML toolset.'
 Subject: Re: [WiX-users] Problems with the environment variable

 Thanks,
 does your Condition not require that testdir exists?
 Because it does not. Only after another installation testdir exist.
 That means that only then the installation should start.
 Christoph

 -Ursprüngliche Nachricht-
 Von: Peter Shirtcliffe [mailto:pshirtcli...@sdl.com]
 Gesendet: Montag, 18. Juli 2011 10:41
 An: General discussion for Windows Installer XML toolset.
 Betreff: Re: [WiX-users] Problems with the environment variable

 $(...) variables are evaluated at build-time by the preprocessor.
 For a run-time check, you want something like:

 Condition Message=Test must be set.![CDATA[
    [%testdir]  
 ]]/Condition

 http://msdn.microsoft.com/en-us/library/aa368012%28v=VS.85%29.aspx


 -Original Message-
 From: Christoph Goetz [mailto:christoph.go...@giepa.de]
 Sent: 18 July 2011 08:45
 To: 'General discussion for Windows Installer XML toolset.'
 Subject: [WiX-users] Problems with the environment variable

 Sorry

 -Ursprüngliche Nachricht-
 Von: Christoph Goetz [mailto:christoph.go...@giepa.de]
 Gesendet: Montag, 18. Juli 2011 09:42
 An: 'General discussion for Windows Installer XML toolset.'
 Betreff: Re: [WiX-users] DTE OutputFileName vs OutputName - possible wix
 bug?

 Hi,
 my installation should only start if an environment variable is set.
 But my installation start every time?
 I just want to check if the environment is set and not if it is set to an
 specific value.

 For example:



  ?if $(env.testdir)?

    Directory Id=TARGETDIR Name=SourceDir


     Directory Id=ProgramFiles64Folder
        Directory Id=INSTALLDIR
                   Name=Test /


  ...


                Feature Id=ProductFeature
             Title=test
             Level=1

 ...

   ?else?
    ?error Test must be set!?
   ?endif?

 Christoph



 
 --
 AppSumo Presents a FREE Video for the SourceForge Community by Eric
 Ries, the creator of the Lean Startup Methodology on Lean Startup
 Secrets Revealed. This video shows you how to validate your ideas,
 optimize your ideas and identify your business strategy.
 http://p.sf.net/sfu/appsumosfdev2dev
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users




 
 -
 -
 AppSumo Presents a FREE Video for the SourceForge Community by Eric
 Ries, the creator of the Lean Startup Methodology on Lean Startup
 Secrets Revealed. This video shows you how to validate your ideas,
 optimize your ideas and identify your business strategy.
 http://p.sf.net/sfu/appsumosfdev2dev
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users
 SDL PLC confidential, all rights reserved.
 If you are not the intended recipient of this mail SDL requests and requires
 that you delete it without acting upon or copying any of its contents, and
 we further request that you advise us.
 SDL PLC is a public limited company registered in England and Wales.
 Registered number: 02675207.
 Registered address: Globe House, Clivemont Road, Maidenhead, Berkshire SL6
 7DY, UK.


 
 --
 AppSumo Presents a FREE Video for the SourceForge Community by Eric
 Ries, the creator of the Lean Startup Methodology on Lean Startup
 Secrets Revealed. This video 

Re: [WiX-users] Problems with the environment variable

2011-07-18 Thread Christoph Goetz
Oh thanks,
it was just an input error.
Damn.


-Ursprüngliche Nachricht-
Von: Tobias S [mailto:tobias.s1...@gmail.com] 
Gesendet: Montag, 18. Juli 2011 15:45
An: General discussion for Windows Installer XML toolset.
Betreff: Re: [WiX-users] Problems with the environment variable

Interesting approach even checking against a environment property in a
LaunchCondition. Didn't know Windows Installer can do that by default
with using %.

Actually the code sample gives me an
ICE03: Bad conditional string; Table: LaunchCondition, Column:
Condition, Key(s): [%testdir]  

This I could fix with removing 2 brackets:
Condition Message=Test must be set.
  ![CDATA[%testdir  ]]
/Condition

Afterwards the installer as expected. Runs when set
testdir=c:\someTestDir and aborts if launchCon is not fulfilled.

Regarding parent and child elements have a look at
http://wix.sourceforge.net/manual-wix3/wix_xsd_condition.htm



2011/7/18 Christoph Goetz christoph.go...@giepa.de:
 I tried it your way, but nothing happens.
 The installation just runs even if [%testdir] doesn´t exist.
 Where does the condition has to stay in the wix code?

 -Ursprüngliche Nachricht-
 Von: Peter Shirtcliffe [mailto:pshirtcli...@sdl.com]
 Gesendet: Montag, 18. Juli 2011 12:18
 An: General discussion for Windows Installer XML toolset.
 Betreff: Re: [WiX-users] Problems with the environment variable

 That is what it tests. I'm not entirely sure what you're trying to do
 otherwise.

 -Original Message-
 From: Christoph Goetz [mailto:christoph.go...@giepa.de]
 Sent: 18 July 2011 11:08
 To: 'General discussion for Windows Installer XML toolset.'
 Subject: Re: [WiX-users] Problems with the environment variable

 Thanks,
 does your Condition not require that testdir exists?
 Because it does not. Only after another installation testdir exist.
 That means that only then the installation should start.
 Christoph

 -Ursprüngliche Nachricht-
 Von: Peter Shirtcliffe [mailto:pshirtcli...@sdl.com]
 Gesendet: Montag, 18. Juli 2011 10:41
 An: General discussion for Windows Installer XML toolset.
 Betreff: Re: [WiX-users] Problems with the environment variable

 $(...) variables are evaluated at build-time by the preprocessor.
 For a run-time check, you want something like:

 Condition Message=Test must be set.![CDATA[
    [%testdir]  
 ]]/Condition

 http://msdn.microsoft.com/en-us/library/aa368012%28v=VS.85%29.aspx


 -Original Message-
 From: Christoph Goetz [mailto:christoph.go...@giepa.de]
 Sent: 18 July 2011 08:45
 To: 'General discussion for Windows Installer XML toolset.'
 Subject: [WiX-users] Problems with the environment variable

 Sorry

 -Ursprüngliche Nachricht-
 Von: Christoph Goetz [mailto:christoph.go...@giepa.de]
 Gesendet: Montag, 18. Juli 2011 09:42
 An: 'General discussion for Windows Installer XML toolset.'
 Betreff: Re: [WiX-users] DTE OutputFileName vs OutputName - possible wix
 bug?

 Hi,
 my installation should only start if an environment variable is set.
 But my installation start every time?
 I just want to check if the environment is set and not if it is set to an
 specific value.

 For example:



  ?if $(env.testdir)?

    Directory Id=TARGETDIR Name=SourceDir


     Directory Id=ProgramFiles64Folder
        Directory Id=INSTALLDIR
                   Name=Test /


  ...


                Feature Id=ProductFeature
             Title=test
             Level=1

 ...

   ?else?
    ?error Test must be set!?
   ?endif?

 Christoph





 --
 AppSumo Presents a FREE Video for the SourceForge Community by Eric
 Ries, the creator of the Lean Startup Methodology on Lean Startup
 Secrets Revealed. This video shows you how to validate your ideas,
 optimize your ideas and identify your business strategy.
 http://p.sf.net/sfu/appsumosfdev2dev
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users






 -
 -
 AppSumo Presents a FREE Video for the SourceForge Community by Eric
 Ries, the creator of the Lean Startup Methodology on Lean Startup
 Secrets Revealed. This video shows you how to validate your ideas,
 optimize your ideas and identify your business strategy.
 http://p.sf.net/sfu/appsumosfdev2dev
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users
 SDL PLC confidential, all rights reserved.
 If you are not the intended recipient of this mail SDL requests and
requires
 that you delete it without acting upon or copying any of its contents, and
 we further request that you advise us.
 SDL PLC is a public limited company registered in England and Wales.
 Registered number: 02675207.
 Registered address: Globe House, Clivemont 

[WiX-users] Including a file but not installing it via a feature? -- ICE21: Component: 'MyTest.EXE' does not belong to any Feature.

2011-07-18 Thread John Gregson
I would like a file unpacked into the directory  (temp) with everything else
but i am not using it as a feature.  

 

I tried adding a file as a component but it complains that its not part of a
feature.

 

Any ideas?  I am a little stuck

 

 

This is the error that I keep getting

 

Error  2 ICE21: Component: 'MyTest.EXE' does not belong to
any Feature. C:\Development\VS 2010\src\Package\Product.wxs
46   1 Package

 

 

--
AppSumo Presents a FREE Video for the SourceForge Community by Eric 
Ries, the creator of the Lean Startup Methodology on Lean Startup 
Secrets Revealed. This video shows you how to validate your ideas, 
optimize your ideas and identify your business strategy.
http://p.sf.net/sfu/appsumosfdev2dev
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Typical Wix conventions for displaying release notes?

2011-07-18 Thread Brad Lemings
How do you set WixShellExecTarget if you want to launch two applications in the 
same Wix file?

-Original Message-
From: Bob Arnson [mailto:b...@joyofsetup.com] 
Sent: Monday, July 11, 2011 11:42 AM
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Typical Wix conventions for displaying release notes?

On 11-Jul-11 13:02, Brad Lemings wrote:
 Just wondering what the typical Wix conventions are for displaying release 
 notes near the end of an installation sequence.

See How To: Run the Installed Application After Setup and replace 
myapplication.exe with myreleasenotes.html.

--
sig://boB
http://joyofsetup.com/


--
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security 
threats, fraudulent activity, and more. Splunk takes this data and makes 
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

--
AppSumo Presents a FREE Video for the SourceForge Community by Eric 
Ries, the creator of the Lean Startup Methodology on Lean Startup 
Secrets Revealed. This video shows you how to validate your ideas, 
optimize your ideas and identify your business strategy.
http://p.sf.net/sfu/appsumosfdev2dev
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Including a file but not installing it via a feature? -- ICE21: Component: 'MyTest.EXE' does not belong to any Feature.

2011-07-18 Thread Pally Sandher
All files need to be in Components  all Components need to be in Features - 
http://msdn.microsoft.com/en-us/library/aa368003.aspx
Add it to a Feature  the error will go away.

Palbinder Sandher 
Software Deployment Engineer
T: +44 (0) 141 945 8500 
F: +44 (0) 141 945 8501 

http://www.iesve.com 
**Design, Simulate + Innovate with the Virtual Environment**
Integrated Environmental Solutions Limited. Registered in Scotland No. SC151456 
Registered Office - Helix Building, West Of Scotland Science Park, Glasgow G20 
0SP
Email Disclaimer

-Original Message-
From: John Gregson [mailto:jgreg...@virtualsharp.com] 
Sent: 18 July 2011 15:18
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Including a file but not installing it via a feature? -- 
ICE21: Component: 'MyTest.EXE' does not belong to any Feature.

I would like a file unpacked into the directory  (temp) with everything else
but i am not using it as a feature.  

 

I tried adding a file as a component but it complains that its not part of a
feature.

 

Any ideas?  I am a little stuck

 

 

This is the error that I keep getting

 

Error  2 ICE21: Component: 'MyTest.EXE' does not belong to
any Feature. C:\Development\VS 2010\src\Package\Product.wxs
46   1 Package

 

 

--
AppSumo Presents a FREE Video for the SourceForge Community by Eric 
Ries, the creator of the Lean Startup Methodology on Lean Startup 
Secrets Revealed. This video shows you how to validate your ideas, 
optimize your ideas and identify your business strategy.
http://p.sf.net/sfu/appsumosfdev2dev
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users



--
AppSumo Presents a FREE Video for the SourceForge Community by Eric 
Ries, the creator of the Lean Startup Methodology on Lean Startup 
Secrets Revealed. This video shows you how to validate your ideas, 
optimize your ideas and identify your business strategy.
http://p.sf.net/sfu/appsumosfdev2dev
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Including a file but not installing it via a feature? -- ICE21: Component: 'MyTest.EXE' does not belong to any Feature.

2011-07-18 Thread Wilson, Phil
If you always that file installed, invent a feature and put that component in 
it. Mark the feature as always to be installed and not shown in the UI feature 
tree. 

Phil Wilson 

-Original Message-
From: Pally Sandher [mailto:pally.sand...@iesve.com] 
Sent: Monday, July 18, 2011 8:52 AM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Including a file but not installing it via a feature? 
-- ICE21: Component: 'MyTest.EXE' does not belong to any Feature.

All files need to be in Components  all Components need to be in Features - 
http://msdn.microsoft.com/en-us/library/aa368003.aspx
Add it to a Feature  the error will go away.

Palbinder Sandher 
Software Deployment Engineer
T: +44 (0) 141 945 8500 
F: +44 (0) 141 945 8501 

http://www.iesve.com 
**Design, Simulate + Innovate with the Virtual Environment**
Integrated Environmental Solutions Limited. Registered in Scotland No. SC151456 
Registered Office - Helix Building, West Of Scotland Science Park, Glasgow G20 
0SP
Email Disclaimer

-Original Message-
From: John Gregson [mailto:jgreg...@virtualsharp.com] 
Sent: 18 July 2011 15:18
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Including a file but not installing it via a feature? -- 
ICE21: Component: 'MyTest.EXE' does not belong to any Feature.

I would like a file unpacked into the directory  (temp) with everything else
but i am not using it as a feature.  

 

I tried adding a file as a component but it complains that its not part of a
feature.

 

Any ideas?  I am a little stuck

 

 

This is the error that I keep getting

 

Error  2 ICE21: Component: 'MyTest.EXE' does not belong to
any Feature. C:\Development\VS 2010\src\Package\Product.wxs
46   1 Package

 

 

--
AppSumo Presents a FREE Video for the SourceForge Community by Eric 
Ries, the creator of the Lean Startup Methodology on Lean Startup 
Secrets Revealed. This video shows you how to validate your ideas, 
optimize your ideas and identify your business strategy.
http://p.sf.net/sfu/appsumosfdev2dev
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users



--
AppSumo Presents a FREE Video for the SourceForge Community by Eric 
Ries, the creator of the Lean Startup Methodology on Lean Startup 
Secrets Revealed. This video shows you how to validate your ideas, 
optimize your ideas and identify your business strategy.
http://p.sf.net/sfu/appsumosfdev2dev
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


*** Confidentiality Notice: This e-mail, including any associated or attached 
files, is intended solely for the individual or entity to which it is 
addressed. This e-mail is confidential and may well also be legally privileged. 
If you have received it in error, you are on notice of its status. Please 
notify the sender immediately by reply e-mail and then delete this message from 
your system. Please do not copy it or use it for any purposes, or disclose its 
contents to any other person. This email comes from a division of the Invensys 
Group, owned by Invensys plc, which is a company registered in England and 
Wales with its registered office at 3rd Floor, 40 Grosvenor Place, London, SW1X 
7AW (Registered number 166023). For a list of European legal entities within 
the Invensys Group, please go to 
http://www.invensys.com/legal/default.asp?top_nav_id=77nav_id=80prev_id=77.

You may contact Invensys plc on +44 (0)20 3155 1200 or e-mail 
recept...@invensys.com. This e-mail and any attachments thereto may be subject 
to the terms of any agreements between Invensys (and/or its subsidiaries and 
affiliates) and the recipient (and/or its subsidiaries and affiliates).



--
Storage Efficiency Calculator
This modeling tool is based on patent-pending intellectual property that
has been used successfully in hundreds of IBM storage optimization engage-
ments, worldwide.  Store less, Store more with what you own, Move data to 
the right place. Try It Now! http://www.accelacomm.com/jaw/sfnl/114/51427378/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] ComPlusInstallExecute Error 0x80110414 on Windows 2000

2011-07-18 Thread Joe Mik
I'm at the tail end of converting a large InstallShield install to WiX (3.5). 
Our application sets up several COM+ applications at install time, and I've
used the WixComPlusExtension to do this.

The COM+ apps install fine on our Windows 2003 development machine, but I
get this Failed to create application... error everytime I try to install
on a Windows 2000 test box:

MSI (s) (AC:44) [12:22:04:774]: Invoking remote custom action. DLL:
C:\WINNT\Installer\MSICE5.tmp, Entrypoint: ComPlusInstallExecute
ComPlusInstallExecute:  Error 0x80110414: Failed to save changes
ComPlusInstallExecute:  Error 0x80110414: Failed to create application, key:
cp.Extractor
ComPlusInstallExecute:  Error 0x80110414: Failed to create applications

I can create the COM+ application manually using the same assemblies that
the installer would use.

Has anyone else had problems getting Wix to install COM+ applications on
Windows 2000 systems?

--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/ComPlusInstallExecute-Error-0x80110414-on-Windows-2000-tp6595787p6595787.html
Sent from the wix-users mailing list archive at Nabble.com.

--
Storage Efficiency Calculator
This modeling tool is based on patent-pending intellectual property that
has been used successfully in hundreds of IBM storage optimization engage-
ments, worldwide.  Store less, Store more with what you own, Move data to 
the right place. Try It Now! http://www.accelacomm.com/jaw/sfnl/114/51427378/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Subscribe Events

2011-07-18 Thread Brad Lemings
Is it possible for an external program or embedded script to subscribe to 
events (e.g. SetProgress)?

Thanks.

--
Storage Efficiency Calculator
This modeling tool is based on patent-pending intellectual property that
has been used successfully in hundreds of IBM storage optimization engage-
ments, worldwide.  Store less, Store more with what you own, Move data to 
the right place. Try It Now! http://www.accelacomm.com/jaw/sfnl/114/51427378/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] How to burn petrified wood? Upgrading from VS 2005 to 2010

2011-07-18 Thread Mark Modrall
Thanks for your response, Pally...

I've got things converted over for the most part but am still puzzled by a few 
new warnings.

One is this one:
Warning 58  ICE25: Possible dependency failure as we do not find 
module@1033 v in ModuleSignature table   light.exe   0   1   
MyProduct

All my modules have Language=1033 in them, so I'm puzzled what the warning is 
about.

The other is that when I have:
Media Id=1 Cabinet=Product.cab EmbedCab=yes /

In my build projects, I get the warning
The cabinet 'Product.cab' does not contain any files.  If this 
installation contains no files, this warning can likely be safely ignored.  
Otherwise, please add files to the cabinet or remove it.

But if I don't have it, I get a lot of errors about having an undefined media 
reference with the DiskId=1 attributes on file and module refs.  If I take 
the DiskId=1 off, it says it's required.

Warnings are better than errors, but I'm trying to understand what's driving 
them.

Thanks
Mark

-Original Message-
From: Pally Sandher [mailto:pally.sand...@iesve.com] 
Sent: Monday, July 18, 2011 7:00 AM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] How to burn petrified wood? Upgrading from VS 2005 to 
2010

I don't think there is an upgrade from v2.0 .wixproj to v3.x. Votive was very 
much experimental  unsupported in WiX v2.0.

You're probably better off creating new .wixproj files in v3.5 as it's pretty 
quick to do.

Palbinder Sandher 
Software Deployment Engineer
T: +44 (0) 141 945 8500 
F: +44 (0) 141 945 8501 

http://www.iesve.com 
**Design, Simulate + Innovate with the Virtual Environment**
Integrated Environmental Solutions Limited. Registered in Scotland No. SC151456 
Registered Office - Helix Building, West Of Scotland Science Park, Glasgow G20 
0SP
Email Disclaimer
-Original Message-
From: Mark Modrall [mailto:mmodr...@mzinga.com] 
Sent: 17 July 2011 15:16
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] How to burn petrified wood? Upgrading from VS 2005 to 
2010

I had been running msbuild to product my msis and it wasn't throwing any 
errors, but now I went into my solution using the IDE (both 2005 and 2010).  In 
both I get the error that I have to use the IDE to upgrade my .wixproj  (2.0) 
files but in the IDE it just says all the projects are (unavailable).  I'm not 
prompted for upgrade nor does VS appear to do them.

It 2.0 = 3.5 just too big a jump for automated upgrade?

Thanks
Mark


-Original Message-
From: Rob Mensching [mailto:r...@robmensching.com] 
Sent: Saturday, July 16, 2011 1:03 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] How to burn petrified wood? Upgrading from VS 2005 to 
2010

The Windows Installer Error Message
http://msdn.microsoft.com/en-us/library/aa372835(VS.85).aspx says:


2756

The property '[2]' was used as a directory property in one or more tables,
but no value was ever assigned.


That suggest something is wrong in your MSI. A verbose log file will
probalby tell you more.



On Fri, Jul 15, 2011 at 2:39 PM, Mark Modrall mmodr...@mzinga.com wrote:

 Hi everybody...

I imagine I'll take some flak for this, but we still have
 installers being cobbled together by Wix 2.0.

 Recently I was tasked with upgrading our product builds from VS 2005 to VS
 2010 (and moving our production environment from Windows Server 2003 to
 2008).  I just got all the product build converted and running under VS 2010
 (with a side nightmare thanks to Sourcegear Vault).  My Wix project cranked
 out .msis without complaint.

But when I went to install the msi on Windows 2008, it threw
 an exception 2765.  Not a lot of information on what the problem is.  Not
 sure if it's some kind of difference between W2003 and 2008, the version of
 the msi installer on the os or what.  It did say there was one specific
 merge module at the time, a .net assembly that was going to be put in the
 gac.

I'd run Wix under VS 2005 figuring that the bundling of the
 build product didn't need to be upgraded, but to start eliminating variables
 I upgraded the Wix solution to VS 2010 and tried the msi outcome of that.
  Same error.

I went to install Wix 3 (baby steps), but that installer
 still only offered VS 2005 integration.

I haven't worked with Windows Server 2008 much and I haven't
 seen this installer error before.  Is this a Wix compatibility issue or an
 OS issue?

 Thanks
 Mark


 --
 AppSumo Presents a FREE Video for the SourceForge Community by Eric
 Ries, the creator of the Lean Startup Methodology on Lean Startup
 Secrets Revealed. This video shows you how to validate your ideas,
 optimize your ideas and identify your business strategy.
 http://p.sf.net/sfu/appsumosfdev2dev
 

Re: [WiX-users] How to burn petrified wood? Upgrading from VS 2005 to 2010

2011-07-18 Thread Mark Modrall
I guess I spoke too soon...  Early in the Wix 2.0 = 3.5 upgrade, I was seeing 
the error:
Error   54  The Directory with Id 'INSTALLDIR' is not a valid root 
directory.  There may only be a single root directory per product or module and 
its Id attribute value must be 'TARGETDIR' and its Name attribute value must be 
'SourceDir'. 

So I switched the root Directory Id=TARGETDIR and the error stopped happening 
- *but* when I looked more closely at the output, my .msi was nearly empty and 
all the subdirectories that were supposed to be *in* the msi are instead peer 
directories to it in MyProduct\bin\Release\.

Seems like there's some 2.0/3.5 incompatibility speed bump I haven't 
internalized yet...

Any tips?

Thanks
Mark

-Original Message-
From: Mark Modrall [mailto:mmodr...@mzinga.com] 
Sent: Monday, July 18, 2011 5:15 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] How to burn petrified wood? Upgrading from VS 2005 to 
2010

Thanks for your response, Pally...

I've got things converted over for the most part but am still puzzled by a few 
new warnings.

One is this one:
Warning 58  ICE25: Possible dependency failure as we do not find 
module@1033 v in ModuleSignature table   light.exe   0   1   
MyProduct

All my modules have Language=1033 in them, so I'm puzzled what the warning is 
about.

The other is that when I have:
Media Id=1 Cabinet=Product.cab EmbedCab=yes /

In my build projects, I get the warning
The cabinet 'Product.cab' does not contain any files.  If this 
installation contains no files, this warning can likely be safely ignored.  
Otherwise, please add files to the cabinet or remove it.

But if I don't have it, I get a lot of errors about having an undefined media 
reference with the DiskId=1 attributes on file and module refs.  If I take 
the DiskId=1 off, it says it's required.

Warnings are better than errors, but I'm trying to understand what's driving 
them.

Thanks
Mark

-Original Message-
From: Pally Sandher [mailto:pally.sand...@iesve.com] 
Sent: Monday, July 18, 2011 7:00 AM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] How to burn petrified wood? Upgrading from VS 2005 to 
2010

I don't think there is an upgrade from v2.0 .wixproj to v3.x. Votive was very 
much experimental  unsupported in WiX v2.0.

You're probably better off creating new .wixproj files in v3.5 as it's pretty 
quick to do.

Palbinder Sandher 
Software Deployment Engineer
T: +44 (0) 141 945 8500 
F: +44 (0) 141 945 8501 

http://www.iesve.com 
**Design, Simulate + Innovate with the Virtual Environment**
Integrated Environmental Solutions Limited. Registered in Scotland No. SC151456 
Registered Office - Helix Building, West Of Scotland Science Park, Glasgow G20 
0SP
Email Disclaimer
-Original Message-
From: Mark Modrall [mailto:mmodr...@mzinga.com] 
Sent: 17 July 2011 15:16
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] How to burn petrified wood? Upgrading from VS 2005 to 
2010

I had been running msbuild to product my msis and it wasn't throwing any 
errors, but now I went into my solution using the IDE (both 2005 and 2010).  In 
both I get the error that I have to use the IDE to upgrade my .wixproj  (2.0) 
files but in the IDE it just says all the projects are (unavailable).  I'm not 
prompted for upgrade nor does VS appear to do them.

It 2.0 = 3.5 just too big a jump for automated upgrade?

Thanks
Mark


-Original Message-
From: Rob Mensching [mailto:r...@robmensching.com] 
Sent: Saturday, July 16, 2011 1:03 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] How to burn petrified wood? Upgrading from VS 2005 to 
2010

The Windows Installer Error Message
http://msdn.microsoft.com/en-us/library/aa372835(VS.85).aspx says:


2756

The property '[2]' was used as a directory property in one or more tables,
but no value was ever assigned.


That suggest something is wrong in your MSI. A verbose log file will
probalby tell you more.



On Fri, Jul 15, 2011 at 2:39 PM, Mark Modrall mmodr...@mzinga.com wrote:

 Hi everybody...

I imagine I'll take some flak for this, but we still have
 installers being cobbled together by Wix 2.0.

 Recently I was tasked with upgrading our product builds from VS 2005 to VS
 2010 (and moving our production environment from Windows Server 2003 to
 2008).  I just got all the product build converted and running under VS 2010
 (with a side nightmare thanks to Sourcegear Vault).  My Wix project cranked
 out .msis without complaint.

But when I went to install the msi on Windows 2008, it threw
 an exception 2765.  Not a lot of information on what the problem is.  Not
 sure if it's some kind of difference between W2003 and 2008, the version of
 the msi installer on the os or what.  It did say there was one specific
 merge module at the 

[WiX-users] Preprocessor extension for informational message

2011-07-18 Thread Bill Packard
Has anyone created a preprocessor extension for generating an informational
message (that they can share)? Along the lines of the built-in error and
warning message functionality, but with a type of 'Information'.  I am
currently using warning messages, but these are polluting the build logs.

 

Thanks, 

Bill Packard

--
Storage Efficiency Calculator
This modeling tool is based on patent-pending intellectual property that
has been used successfully in hundreds of IBM storage optimization engage-
ments, worldwide.  Store less, Store more with what you own, Move data to 
the right place. Try It Now! http://www.accelacomm.com/jaw/sfnl/114/51427378/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Burn title and ARP

2011-07-18 Thread Dan Puza
Is there a way to set the title of the bootstrapper without creating an Add 
Remove Programs entry for the bootstrapper?
--
Storage Efficiency Calculator
This modeling tool is based on patent-pending intellectual property that
has been used successfully in hundreds of IBM storage optimization engage-
ments, worldwide.  Store less, Store more with what you own, Move data to 
the right place. Try It Now! http://www.accelacomm.com/jaw/sfnl/114/51427378/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Burn title and ARP

2011-07-18 Thread Bob Arnson
On 18-Jul-11 19:12, Dan Puza wrote:
 Is there a way to set the title of the bootstrapper without creating an Add 
 Remove Programs entry for the bootstrapper?

No, at least right now Bundle/@Name is what shows the bundle in ARP.

-- 
sig://boB
http://joyofsetup.com/


--
Magic Quadrant for Content-Aware Data Loss Prevention
Research study explores the data loss prevention market. Includes in-depth
analysis on the changes within the DLP market, and the criteria used to
evaluate the strengths and weaknesses of these DLP solutions.
http://www.accelacomm.com/jaw/sfnl/114/51385063/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] ComPlusInstallExecute Error 0x80110414 on Windows 2000

2011-07-18 Thread Bob Arnson
On 18-Jul-11 14:15, Joe Mik wrote:
 ComPlusInstallExecute:  Error 0x80110414: Failed to save changes
0x80110414 is COMADMIN_E_USERPASSWDNOTVALID (The identity or password 
set on the application is not valid).

-- 
sig://boB
http://joyofsetup.com/


--
Magic Quadrant for Content-Aware Data Loss Prevention
Research study explores the data loss prevention market. Includes in-depth
analysis on the changes within the DLP market, and the criteria used to
evaluate the strengths and weaknesses of these DLP solutions.
http://www.accelacomm.com/jaw/sfnl/114/51385063/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Subscribe Events

2011-07-18 Thread Bob Arnson
On 18-Jul-11 14:44, Brad Lemings wrote:
 Is it possible for an external program or embedded script to subscribe to 
 events (e.g. SetProgress)?
No. The closest is an external UI handler, which can handle progress 
messages however.

-- 
sig://boB
http://joyofsetup.com/


--
Magic Quadrant for Content-Aware Data Loss Prevention
Research study explores the data loss prevention market. Includes in-depth
analysis on the changes within the DLP market, and the criteria used to
evaluate the strengths and weaknesses of these DLP solutions.
http://www.accelacomm.com/jaw/sfnl/114/51385063/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Typical Wix conventions for displaying release notes?

2011-07-18 Thread Bob Arnson
On 18-Jul-11 11:46, Brad Lemings wrote:
 How do you set WixShellExecTarget if you want to launch two applications in 
 the same Wix file?
You'd need two more custom actions, one to set the WixShellExecTarget 
property and one to call WixShellExecute.

-- 
sig://boB
http://joyofsetup.com/


--
Magic Quadrant for Content-Aware Data Loss Prevention
Research study explores the data loss prevention market. Includes in-depth
analysis on the changes within the DLP market, and the criteria used to
evaluate the strengths and weaknesses of these DLP solutions.
http://www.accelacomm.com/jaw/sfnl/114/51385063/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Single Wix setup for Win7-32,64 bit operating system

2011-07-18 Thread Ravi Gupta
Has anyone implemented wix setup for both Win7-32,64 bit operating system
with different drivers(using difx) for both OS.
If any one implemented please share the knowledge.

-- 
*Regards
T.Ravi Gupta*
--
Magic Quadrant for Content-Aware Data Loss Prevention
Research study explores the data loss prevention market. Includes in-depth
analysis on the changes within the DLP market, and the criteria used to
evaluate the strengths and weaknesses of these DLP solutions.
http://www.accelacomm.com/jaw/sfnl/114/51385063/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users