This will tell you if 3.5 is installed
<!-- Installation Conditions -->
<PropertyRef Id="NETFRAMEWORK35" />
<Condition Message="The .NET Framework 3.5 must be installed
([NETFRAMEWORK35])">
Installed OR NETFRAMEWORK35
</Condition>
<Condition Message="You must be an administrator to install this
application">
Privileged
</Condition>
You will need a bootstrapper if you want to install 3.5 when it is missing.
-----Original Message-----
From: Wendell Joost [mailto:[email protected]]
Sent: Monday, November 16, 2009 4:35 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Example Help Needed
I don't have time to write you a sample, but I can point you at some
reference material for getting started.
Start with the sample WiX code in the WiX CHM file.
.Net 3.5 detection - start here:
http://www.mail-archive.com/[email protected]/msg14255.html
regsvr32 is evil, you really don't want to use it with WiX.
http://www.tramontana.co.hu/wix/ - tutorial for WiX.
Your setup will automatically show in ARP.
Wendell
On Mon, Nov 16, 2009 at 2:19 PM, Elene Sanston <[email protected]> wrote:
> I just started working with WiX and it seems like an amazing piece of
> software. I am hoping that someone could write an example wsx file for me
> that does the tasks below. I urgently need to replace a batch file with an
> installer because of the unreliability of a batch file. If someone could
> write an example for me that does the following I would be very thankfull.
>
> Need the installer to:
> Check that .NET 3.5 is installed
> Create folder named myfiles under system32
> Unregister files in the myfiles folder if they already exist.
> Copy new files to system32\myfiles and regsvr32 them.
> Add a registry entry.
> Have the program show up in add/remove programs and be uninstallable.
>
> Thanks so much for the help! This will really help me understand if I have an
> example and can modify it to my needs.
>
> Thanks!
>
>
>
>
> ------------------------------------------------------------------------------
> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
> trial. Simplify your report design, integration and deployment - and focus on
> what you do best, core application coding. Discover what's new with
> Crystal Reports now. http://p.sf.net/sfu/bobj-july
> _______________________________________________
> WiX-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
--
"Some people come visit Europe and are really let down when they find
out it's not like a credit-card commercial; others really get into
meeting all the quirky people and careening along narrow mountain
roads in rickety cabs driven by suicidal, gap-toothed Carpathians. I
guess it's pretty obvious which one you are..." - Justin Crevier, May
'01
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
WiX-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-users
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
WiX-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-users