Re: [WiX-users] setupbld diagnosing?

2009-12-02 Thread Pally Sandher
Use a LaunchCondition in your MSI to detect for .NET 3.5 SP1 and deny
installation if it's not present. See
http://wix.sourceforge.net/manual-wix3/check_for_dotnet.htm

Also the following page may be of use to you if you're trying to create
a bootstrapper to install .NET 3.5 SP1 before running your MSI -
http://wix.sourceforge.net/manual-wix3/install_dotnet.htm

Both the above pages are also in the WiX.chm installed with the WiX v3.0
 v3.5 toolsets.

Personally I use dotnetinstaller (http://dotnetinstaller.codeplex.com/)
for my bootstrapper needs as I find it is very powerful but also very
simple to understand and configure the behaviour you require. However
you may find something like ClickOnce or Setupbld suits your needs.
Until Burn (WiX v3.5 toolset bootstrapper) is finished you'll need to
look outside of the WiX toolset to fulfil your bootstrapper
requirements.


Palbinder Sandher 
Software Deployment  IT Administrator
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: JKLists [mailto:jkli...@ifm-services.com] 
Sent: 02 December 2009 07:09
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] setupbld diagnosing?

John L Krupka wrote:
 You should be able to set up preconditions on those things in the msi.

 Setupbld is not the place for that to the best of my knowledge. 
   

This is where my lack of understanding how MSIs work raises its head.

My MSI has a condition where it needs .NET 3.5 SP1, and refuses to run
if it is not installed. I need trigger the .NET setup in that case. 
There are also a couple of other installs that need to be run before
mine.

I'm under the impression that I need a bootstrapper for these things,
but don't fully understand how these things work yet.




--
Join us December 9, 2009 for the Red Hat Virtual Experience,
a free event focused on virtualization and cloud computing. 
Attend in-depth sessions from your desk. Your couch. Anywhere.
http://p.sf.net/sfu/redhat-sfdev2dev
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] setupbld diagnosing?

2009-12-01 Thread JKLists
My WiX project has a handful of prerequisites, for example, the 
application requires .NET 3.5 SP1. My WiX project correctly does not run 
unless SP1 is installed. I understand that this needs to be done in a 
bootstrapper. However, after a couple of hours of reading on the 
Internet and experimenting, I'm feeling like I'm not getting anywhere.

So... I tried something simple, to use setupbld to wrap a test MSI. When 
I run the created setup.exe either from the command line or by 
double-clicking on it, nothing seems to happen. Is there debugging 
information for the created setup.exe?

Here's the command line that I use to build:

PS O:\projects\TestInstall\bin\Debug setupbld -o setup.exe -msu 
TestInstall.msi -title Test Setup.exe -setup C:\Program Files\Windows 
Installer XML v3\bin\setup.exe

This is what I see when I run:

PS O:\projects\TestInstall\bin\Debug .\setup.exe
PS O:\projects\TestInstall\bin\Debug

In other words, I immediately get back the command prompt.


--
Join us December 9, 2009 for the Red Hat Virtual Experience,
a free event focused on virtualization and cloud computing. 
Attend in-depth sessions from your desk. Your couch. Anywhere.
http://p.sf.net/sfu/redhat-sfdev2dev
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] setupbld diagnosing?

2009-12-01 Thread JKLists
John L Krupka wrote:
 You should be able to set up preconditions on those things in the msi. 
 Setupbld is not the place for that to the best of my knowledge. 
   

This is where my lack of understanding how MSIs work raises its head.

My MSI has a condition where it needs .NET 3.5 SP1, and refuses to run 
if it is not installed. I need trigger the .NET setup in that case. 
There are also a couple of other installs that need to be run before mine.

I'm under the impression that I need a bootstrapper for these things, 
but don't fully understand how these things work yet.



--
Join us December 9, 2009 for the Red Hat Virtual Experience,
a free event focused on virtualization and cloud computing. 
Attend in-depth sessions from your desk. Your couch. Anywhere.
http://p.sf.net/sfu/redhat-sfdev2dev
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users