Automatically generating WiX scripts is not recommended due to the strong
likelihood of breaking component rules. If you're careful to ensure that
component GUIDs and component contents are stable across versions - for
which you'll need to parse the original WiX file, find the differences and
generate new components and component GUIDs for the new files while keeping
the same GUIDs for the old ones - you might be OK.

 

-- 

Mike Dimmick

 

  _____  

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Surya
Sent: 18 April 2007 06:10
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Wix project for ASP.NET web project

 

I have been using WiX 2.0 for a couple of builds now for our project and so
far its been an impressive ride.

 

As part of our system components, we have an ASP.NET project and the way we
build and deploy our code is drop all the files and folders to the VROOT.
The files and folders easily add upto 200 items.  

 

Now since I didn't want to manually add these 200 items with component Ids,
Guids, short names and long names, I went ahead and developed an MSI from
Visual Studio, used dark on this MSI to get the initial project. Over the
last couple of builds our team has added 5 - 6 files and removed  few. I
have been manually managing adding and removing these to the WiX project,
but then I was also curious if this was the right way to do. 

 

Is there an automated way to manage all of this. I was just thinking about
writing an MSBuild custom task which would script out these files and
folders into WiX project if I cant figure out an alternative. 

 

Let me know how others have worked with this.

 

Thanks,

SJ

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

Reply via email to