Re: [WiX-users] changing setup at runtime

2007-04-21 Thread Bob Arnson
Nitin Chaudhari wrote: > I think we have different requirements, I want this guid to be filled > up by my webpage, so that my webserver knows which GUID is given to > the user who was logged in and who downloaded the setup. Be *very* careful with that approach. MSI requires, for example, that e

Re: [WiX-users] changing setup at runtime

2007-04-20 Thread Daryn Mitchell
Also for an concise example of using the Automation interface you might find it helpful to look at "WiRunSQL.vbs" in the Installer SDK / Platform SDK. Use of the script is described in "Examples of Database Queries Using SQL and Script" http://msdn2.microsoft.com/en-us/library/aa368562.aspx Dar

Re: [WiX-users] changing setup at runtime

2007-04-20 Thread Brett Kapilik
Well, if the download is generic - just a file on a server - then I don't see how you can do this. However, if you are running a Windows server (ASP) theoretically I suppose you could make the download script: - Make a copy of the msi file on the server - Use the MSI Automation interface to open

Re: [WiX-users] changing setup at runtime

2007-04-20 Thread Stefan Pavlik
The you can just edit each MSI package just before downloading. look for the MsiSetProperty in the MSDN regards Stefan Nitin Chaudhari wrote: > Hey Stefan, > > I think we have different requirements, I want this guid to be filled up > by my webpage, so that my webserver knows which GUID is gi

Re: [WiX-users] changing setup at runtime

2007-04-20 Thread Nitin Chaudhari
Hey Stefan, I think we have different requirements, I want this guid to be filled up by my webpage, so that my webserver knows which GUID is given to the user who was logged in and who downloaded the setup. Thanks, Nitin On 4/20/07, Stefan Pavlik <[EMAIL PROTECTED]> wrote: I am using exactly

Re: [WiX-users] changing setup at runtime

2007-04-20 Thread Stefan Pavlik
I am using exactly the same thing. I have custom action (that runs as immediate) that will create the GUID and will fill some property with this GUID. This guid is used in Registry element - it is written to the registry. (functions to search: UuidCreateSequential UuidToString ) Regards Stefan