[WiX-users] How to test rollback?

2008-02-01 Thread larsenal
I've got a custom progress dialog. I was hoping to add a button that cancels the install. However, my attempts don't seem to work... I tried adding this to my button: It doesn't seem to trigger a rollback. -- View this message in context: http://www.nabble.com/How-to-test-rollback--tp15238

Re: [WiX-users] condition expression syntax (ICE79)

2008-02-01 Thread Daryn Mitchell
> -Original Message- > I have a feature with the ID="SomeFeature". > > $SomeFeature > This throws an ICE79 error. > > However, changing the $ to a ! is fine. $ is for components, & and ! are for features. (Conditional Statement Syntax http://msdn2.microsoft.com/en-us/library/aa368012(VS

[WiX-users] condition expression syntax (ICE79)

2008-02-01 Thread larsenal
I'm running Wix 3 and can't figure out how to get around this ICE79 error. I have a feature with the ID="SomeFeature". Down in the InstallExecuteSequence I have... $SomeFeature This throws an ICE79 error. However, changing the $ to a ! is fine. !SomeFeature Any ideas? Has the expression sy

Re: [WiX-users] Help with ICE64 please

2008-02-01 Thread Alexander Shevchuk
Your product is installed into %DesktopFolder%\CompanyXYZ\AppName. On uninstall instructs to remove the AppName folder, but who will remove the CompanyXYZ folder? You can safely add to the main component which will be always installed with your app element to remove the CompanyXYZ folder bec

[WiX-users] Help with ICE64 please

2008-02-01 Thread Paul McLaughlin
Hello. Wow, I'm learning that WiX is cool, but ICE is very confusing. I would have to think that with WiX's simplicity, it would attract a significant population that does not have Windows Installer experience (self included!) that probably makes these ICE errors especially bewildering. Any

[WiX-users] Dynamic authentication method for SqlDatabase?

2008-02-01 Thread Paul Lalonde
Hello, I am using the Wix SqlDatabase/SqlString/SqScript elements to create a database in my installer. Unfortunately, I think I've lead myself into a dead end. I have a dialog that displays a combo box containing the available SQL servers. The user can pick one. The user can also choose, v

Re: [WiX-users] InstallExecuteSequence for Sql Actions

2008-02-01 Thread Chris Eldredge
Doh! I figured out that the reference to the File ID was wrong, so the path to the assembly was evaluating to a blank string. Turns out standard action sequence works fine for this scenario. Thanks, Chris Alexander Shevchuk wrote: > Hi Chris, > > Sorry, I am still on WiX 2, but that should n

Re: [WiX-users] pre-defined variables?

2008-02-01 Thread Justin Rockwood
Oh, sorry. Another thing I should have probably pointed out. Referenced wix projects don't have their project preprocessor variables written out in Votive v2. It was another few Visual Studio interfaces that I didn't get around to implementing in version 2. I think in Votive v2, C#, J#, and VB work

Re: [WiX-users] Checking for executable version number

2008-02-01 Thread Dustin Johnson
Alex,    Thank you!  I see that FileSearch has a similar functionality to what I need. -- Dustin Johnson CACE Technologies Tel: 530-758-2790 x109 Fax: 530-758-2781 www.cacetech.com Alexander Shevchuk wrote: Hi Dustin,   In case you need to check if third party software is

Re: [WiX-users] Condition based on INSTALLLOCATION

2008-02-01 Thread Alexander Shevchuk
You need to schedule custom action after InstallValidate to set the value of the XMLFILEEXISTS property. Alex -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of RW Sent: Friday, February 01, 2008 11:23 AM To: wix-users@lists.sourceforge.net Subject: [WiX-

Re: [WiX-users] pre-defined variables?

2008-02-01 Thread mark.modrall
Hi Justin... Still doesn't seem to work... At least not when the dependent project is another Wix project. $(var..TargetPath) is on both lists as *supposedly* supported, but when I have one wix projects merging the output msms of other projects, I just get variable-undefined errors.

[WiX-users] enable Browse button in CustomizeDlg

2008-02-01 Thread Igor Likhotkin
Hi! I am new to WIX. I built a sample installation with WixUI_Mondo UI model. However, I noticed that I could not change the installation directory which makes the installation pretty useless. Is there any way to enable this button without rewriting the entire dialog? I have looked on the

[WiX-users] Condition based on INSTALLLOCATION

2008-02-01 Thread RW
Hi, I'm trying to turn on and off a feature based on whether a file already exists in the installation directory. To do this, I'm setting a property based on a FileSearch: Then, in the feature I have a level condition on it:

Re: [WiX-users] pre-defined variables?

2008-02-01 Thread Justin Rockwood
Thanks for the note. Here's what I responded to your comment on the blog: Mark, This should also work in Votive 2.0, although the preprocessor definitions may be slightly different than the ones I presented here. Take a look at Rob's MSDN article here (http://msdn2.microsoft.com/en-us/aa302186.as

[WiX-users] Minor upgrade help

2008-02-01 Thread rkevinburton
I read the tutorial and I seem to be stuck here: After the check has run, we can take the appropriate actions based on the existence and value of the properties involved: PATCHFOUND ... For some strange reason, small updates and minor upgrades cannot be run simply by clicking

Re: [WiX-users] Checking for executable version number

2008-02-01 Thread Alexander Shevchuk
Hi Dustin, MSI will do it for you. Read about Patching and Upgrades: http://msdn2.microsoft.com/en-us/library/aa370579(VS.85).aspx and read tutorial on this topic: http://www.tramontana.co.hu/wix/lesson4.php File versioning rules: http://msdn2.microsoft.com/en-us/library/aa368599(VS.85).aspx Reg

[WiX-users] Checking for executable version number

2008-02-01 Thread Dustin Johnson
Hi all, I'm pretty new to Wix and microsoft installer in general.  I have read everything I can get my hands on, but I still don't understand if I'll be able to retrieve the version of an existing dll or other executable and decide if I need to replace it.  I understand that I can write my own

Re: [WiX-users] InstallExecuteSequence for Sql Actions

2008-02-01 Thread Alexander Shevchuk
Hi Chris, Sorry, I am still on WiX 2, but that should not matter. In WiX 2 both and have a Sequence attribute. Make sure that is scheduled after InstallFiles standard action (usual Sequence number 4000). Regards, Alex -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROT

Re: [WiX-users] Adding a custom action (type 6) in a patchpackage(msp)

2008-02-01 Thread Alexander Shevchuk
Hello Paul, I did quick experiment and if I add the "\" in front of the file name, like in your sample, I get an error message from light.exe (I am using WiX 2.0): Light.exe : fatal error LGHT0005: The system cannot find the file specified ... Try: Instead of: Alex From: [EMAIL PROTEC

Re: [WiX-users] InstallExecuteSequence for Sql Actions

2008-02-01 Thread Chris Eldredge
Actually, I'm trying to load the assembly from the file system, not the GAC. Does that change your answer? Thanks, Chris Adam Majer wrote: > > No. GAC is updated after MSI install is finalized. Wix has no control > over this. > > - Adam > > ---

Re: [WiX-users] Multilingual Support

2008-02-01 Thread Daryn Mitchell
> -Original Message- > Yes, I know the short answer is 'no' > ... installers that can make a single multilingual install package > ... isn't there some creative work-around for this? "Multi-Language MSI Packages without Setup.exe Launcher" http://www.installsite.org/pages/en/m

[WiX-users] Understanding per user/machine level registry restriction.

2008-02-01 Thread Ryan O'Neill
Hi all, I know there is plenty of documentation about the following, but having read it I just cannot get my head round it or figure out a workaround. The following XML generates an ICE57 error, I know I have to move the registry component out to a 'per user component' but I can't figure ou

[WiX-users] Rich Text Field in dialog...

2008-02-01 Thread fred . antares
Hi, I created a dialog to display my EULA, and I'm using a text control pointing on a rtf SourceFile. On the first tries, when using text directly in the XML, everything worked perfectly fine. Now that I'm using a rtf file, the text control is blank when the dialog is displayed (text is blank, co

[WiX-users] Heating Directories with Identically Named Files

2008-02-01 Thread Tanikella, Rajanikanth (SCR US)
Hello All, I'm using WiX 3 to package a product. The build puts all the build results (binaries, config files, help files, etc) into a deployment directory which is harvested. By heat. That deployment directory has a number of subdirectories, at least two of which have the same name (Deployment

Re: [WiX-users] How can I use RegistrySearch to check if a key exists

2008-02-01 Thread Dominik Guder
Thomas Hargrove wrote: > > I am trying to determine if a registry key exists, but the key is a > empty string. > Hi, regarding http://www.nabble.com/RegistrySearch-with-empty-registrykeys-td13269405.html and its link to http://msdn2.microsoft.com/en-us/library/aa371171.aspx states that this

[WiX-users] non-admin user patching

2008-02-01 Thread rjking
I am having a problem creating a msp that a non-admin user can apply to a msi previously installed by an administrator. the msi installed some files to Program Files/... and the patch is an update that only contains a newer version of the exe installed to Program Files/... The problem is that th

[WiX-users] Disable windows Native Power Management Functionality

2008-02-01 Thread Anidil
Can anyone give an insight on how to do this using WiX? -- View this message in context: http://www.nabble.com/Disable-windows-Native-Power-Management-Functionality-tp15223156p15223156.html Sent from the wix-users mailing list archive at Nabble.com.