[WiX-users] best practices/templates for MSIs generated using wix 3

2009-05-27 Thread Apoorv Shrivastava
Are there any blog entries/articles that contain best practice tips and code snippets/wxs templates for the following scenarios:1. MSI created in wix 3 that deploy a website on IIS 2. MSI created in wix 3 that created/update a database on SQL Server 3. MSI created in wix 3 that deploy a Windows ser

Re: [WiX-users] WTK: Approx. release month for Wix 3

2009-05-27 Thread Apoorv Shrivastava
great, thanks On Wed, May 27, 2009 at 6:42 PM, Bob Arnson wrote: > Apoorv Shrivastava wrote: > > Is there a target date for Wix 3 (stable release)? > > > > Soon, in the next couple of months depending on bug count. > > -- > sig://boB > http://joyofsetup.com/ > > > > > ---

Re: [WiX-users] WTK: Approx. release month for Wix 3

2009-05-27 Thread Apoorv Shrivastava
great, thanks On Wed, May 27, 2009 at 7:20 PM, Rob Mensching wrote: > Shooting for the first week of July. That assumes we don't take a bug in > the next few weeks since we need a month for a good test pass. > > Apoorv Shrivastava wrote: > > Hi > > > > Is there a target date for Wix 3 (stable re

Re: [WiX-users] Reevaluating Component Conditions on Repair

2009-05-27 Thread Bob Arnson
Ondrej Zarevucky wrote: > Let's say we have: > - Feature_1 containing > -- BaseComponents_1 > -- BonusComponents_1 - only installed based on Condition > - Feature_2 > -- BaseComponents_2 > -- BonusComponents_2 - only installed based on Condition > Consider using child features; you can easily i

Re: [WiX-users] Can't find property for current user's home directory

2009-05-27 Thread Bob Arnson
bmahf wrote: > I have been searching hi and low, and I can't find anywhere where a property > is given for "C:\Documents and Settings\". Take a look at "System Folder Properties" in the MSI SDK but it probably won't be there: **CSIDL_PROFILE** (FOLDERID_Profile) *Version 5.0*. The user's p

Re: [WiX-users] Result of deferred custom action

2009-05-27 Thread Alex Ivanoff
So, how do I communicate between deferred custom actions? -Original Message- From: Rob Mensching [mailto:r...@wixtoolset.org] Sent: Wednesday, May 27, 2009 21:26 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Result of deferred custom action Not witho

Re: [WiX-users] Welcome dialog in the WixUI_Advanced

2009-05-27 Thread Bob Arnson
Andres Juarez wrote: > I just noticed that using the WixUI_Advanced that the UI goes almost directly > to the license dialog going very, very fast through the Welcome dialog. > It's not WelcomeDlg, it's PrepareDlg, which shows up while AppSearch is running. It's a modeless dialog that lets y

Re: [WiX-users] WTK: Approx. release month for Wix 3

2009-05-27 Thread Bob Arnson
Apoorv Shrivastava wrote: > Is there a target date for Wix 3 (stable release)? > Soon, in the next couple of months depending on bug count. -- sig://boB http://joyofsetup.com/ -- Register Now for Creativity and Tec

Re: [WiX-users] Result of deferred custom action

2009-05-27 Thread Rob Mensching
Not without communicating between deferred CustomActions which is definitely not recommended unless there is no other option. What I described below is the way I would expect things to work based on my reading of the MSI SDK. Alex Ivanoff wrote: > I think I could, but it may require more coding

Re: [WiX-users] Error while building Wix setup project using Wix V3 Version 3.0.5217...

2009-05-27 Thread Rob Mensching
You need two separate SqlString elements. Your current authoring is not supported. Sunil Birari wrote: > This is kind of blocking us to move on the Daily/Nightly builds. For Now, We > are switching to the lower version on Wix, which is Wix V3 Version 3.0.4805. > Let us know, if you have any sug

Re: [WiX-users] Can't find property for current user's home directory

2009-05-27 Thread Rob Mensching
All of the built in MSI properties are documented in the MSI SDK. Look for the "Property Reference" topic. bmahf wrote: > Hi all, > > I have been searching hi and low, and I can't find anywhere where a property > is given for "C:\Documents and Settings\". I know there must be such > a property,

Re: [WiX-users] Passing Property into MergeModule

2009-05-27 Thread Rob Mensching
The Merge Module would need to have a public Property and you'd have to refer to it with its modularized Id in your MSI. Or you could use Configurable Merge Modules but they are usually more complicated than worth the effort. Shree Krishnamurthi wrote: > Hi > > I would like to pass a property f

Re: [WiX-users] WTK: Approx. release month for Wix 3

2009-05-27 Thread Rob Mensching
Shooting for the first week of July. That assumes we don't take a bug in the next few weeks since we need a month for a good test pass. Apoorv Shrivastava wrote: > Hi > > Is there a target date for Wix 3 (stable release)? > > Thx > Apoorv >

Re: [WiX-users] Publish order

2009-05-27 Thread Bob Arnson
Cranshaw, George wrote: > I have the following dialog logs defined, just a modified > MyWelcomeEulaDlg: > I'd suggest adding a dialog before the one that kicks off installs; SpawnDialog should really be used only for confirmation type popup dialogs. -- sig://boB http://joyofsetup.com/ ---

Re: [WiX-users] Long CAB file name

2009-05-27 Thread Bob Arnson
zett42 wrote: > I get a warning from Candle about my CAB file names not following 8.3 format. > Check the MSI SDK: it says cabinets must be 8.3 name. -- sig://boB http://joyofsetup.com/ -- Register Now for Creativi

[WiX-users] WTK: Approx. release month for Wix 3

2009-05-27 Thread Apoorv Shrivastava
Hi Is there a target date for Wix 3 (stable release)? Thx Apoorv -- Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers & brand creativity professionals. Meet the m

[WiX-users] Welcome dialog in the WixUI_Advanced

2009-05-27 Thread Andres Juarez
Hi there. I just noticed that using the WixUI_Advanced that the UI goes almost directly to the license dialog going very, very fast through the Welcome dialog. Is this by desing? Should it not go to the Welcome dialog and then hit next? It looks a bit ugly this way. The WIX installe

Re: [WiX-users] Pressing yes to a cancel dialog during a binary custom action does not trigger rollback

2009-05-27 Thread Richard
In article <1243462150993-2983987.p...@n2.nabble.com>, achandrapano writes: > The problem is I am using an EXE binary custom action. However, it seems to > work if I place another DLL custom action right after my last EXE custom > action and before InstallFinalize. This DLL custom action do

[WiX-users] Passing Property into MergeModule

2009-05-27 Thread Shree Krishnamurthi
Hi I would like to pass a property from my master setup (ie msi ) to one of the merge modules. Is it possible? Can someone explain how this can be done? Thanks Shree -- Register Now for Creativity and Technology (C

[WiX-users] Can't find property for current user's home directory

2009-05-27 Thread bmahf
Hi all, I have been searching hi and low, and I can't find anywhere where a property is given for "C:\Documents and Settings\". I know there must be such a property, since I have seen installers write files to this folder. Does anyone know of it? PersonalFolder refer to "C:\Documents and Sett

Re: [WiX-users] Pressing yes to a cancel dialog during a binary custom action does not trigger rollback

2009-05-27 Thread achandrapano
The problem is I am using an EXE binary custom action. However, it seems to work if I place another DLL custom action right after my last EXE custom action and before InstallFinalize. This DLL custom action doesn't do anything except return ERROR_SUCCESS. But the installer seems to catch the "canc

Re: [WiX-users] Pressing yes to a cancel dialog during a binary custom action does not trigger rollback

2009-05-27 Thread Richard
In article <1243447694545-2982772.p...@n2.nabble.com>, achandrapano writes: > I have a custom action that occurs right before InstallFinalize. Pressing > cancel and selecting 'yes' doesn't seem to cause a rollback. Is this a > timing issue since no rollbacks are allowed after InstallFinaliz

[WiX-users] Publish order

2009-05-27 Thread Cranshaw, George
I have the following dialog logs defined, just a modified MyWelcomeEulaDlg:

Re: [WiX-users] Undefined variable SystemFolder

2009-05-27 Thread Brian Rogers
Hey Jim, If this isn't the answer you are looking for could you share some code? Make sure your case is correct "SystemFolder" not "Systemfolder". If this is from the ouptut of heat and you get this when running light you will need to add a reference to the SystemFolder in your directory structur

Re: [WiX-users] Error while building Wix setup project using Wix V3 Version 3.0.5217...

2009-05-27 Thread Sunil Birari
This is kind of blocking us to move on the Daily/Nightly builds. For Now, We are switching to the lower version on Wix, which is Wix V3 Version 3.0.4805. Let us know, if you have any suggestions. Thanks, Sunil From: Bob Arnson [mailto:b...@joyofsetup.com] Sent: Sunday, May 24, 2009 7:32 AM To:

Re: [WiX-users] Result of deferred custom action

2009-05-27 Thread Alex Ivanoff
I think I could, but it may require more coding. So I take it there is no other way? -Original Message- From: Rob Mensching [mailto:r...@wixtoolset.org] Sent: Wednesday, May 27, 2009 13:54 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Result of defer

[WiX-users] Undefined variable SystemFolder

2009-05-27 Thread MacDiarmid, James D
I used Heat to generate some fragments however I'm getting an error stating that it doesn't recognize a variable called "Systemfolder". How can I define this? This is showing up in an a typelib statment. Jim MacDiarmid EDS, an HP company U.S. Public Sector Department of Homeland Security Seg

Re: [WiX-users] Long CAB file name

2009-05-27 Thread Rob Mensching
We add those types of warnings when we get a report of a problem. Don't always remember the problem. However, ignore the warning at your own risk. In this case, why not shorten the cabinet name? That seems like it should be easy. zett42 wrote: > I get a warning from Candle about my CAB file n

Re: [WiX-users] Result of deferred custom action

2009-05-27 Thread Rob Mensching
Can you generate the certificate in an immediate mode then pass the certificate and the serial number down to deferred custom actions that actually write to disk? Alex Ivanoff wrote: > Anyone? Or am I doing something stupid? > > > -Original Message- > From: Alex Ivanoff [mailto:alex.ivan

Re: [WiX-users] Pressing yes to a cancel dialog during a binary custom action does not trigger rollback

2009-05-27 Thread zett42
Seems to me like a timing issue. I think the "cancel" command will not be processed until your custom action returns. Then Windows Installer might decide that it is too late to cancel immediately before / during InstallFinalize. I would try to call MsiProcessMessage() at the end of your CA. If Msi

[WiX-users] Pressing yes to a cancel dialog during a binary custom action does not trigger rollback

2009-05-27 Thread achandrapano
I have a custom action that occurs right before InstallFinalize. Pressing cancel and selecting 'yes' doesn't seem to cause a rollback. Is this a timing issue since no rollbacks are allowed after InstallFinalize? The MSI log shows the cancel dlg was created but nothing else (I did a diff of 2 msi l

[WiX-users] Long CAB file name

2009-05-27 Thread zett42
I get a warning from Candle about my CAB file names not following 8.3 format. Though the installation seems to run fine. Has anybody got a problem from using long CAB names or otherwise know why they should be avoided? -- View this message in context: http://n2.nabble.com/Long-CAB-file-name-tp2

[WiX-users] Reevaluating Component Conditions on Repair

2009-05-27 Thread Ondrej Zarevucky
Hi! I've been trying to create one MSI package with many features and compontents which should be then custom modified for each of our custommers. Let's say we have: - Feature_1 containing -- BaseComponents_1 -- BonusComponents_1 - only installed based on Condition - Feature_2 -- BaseComponents_

[WiX-users] Reboot during uninstallation then continue

2009-05-27 Thread Pavel Konyukhov
Hi guys I have the following simplified product configuration: 1. custom gina module 2. module used by gina When uninstalling, gina may be used by winlogon, but Module (2) may be free. Module (2) may be uninstalled succsesfully and there will be problems while rebooting the system after uninstall