Re: [WiX-users] problems with conditions in feature

2006-06-27 Thread Vitaly Dolya
Sebastian Heid wrote: Is that some known bug? Am I simply completely misunderstanding what the condition is supposed to do in that context … What might I be doing wrong? INSTALL_FLAG property setter must be scheduled before CostFinalize action. I guess, INSTALL_FLAG property

[WiX-users] How to check for install state of a WI product.

2006-06-27 Thread dangle123 ...
Is calling "MsiEnumRelatedProduct" with an upgrade code and then call "MsiQueryProductState"  the correct way to check whether a WI product is installed? thx! -- Leo Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to

Re: [WiX-users] Registry element causes error 2727

2006-06-27 Thread JustinPitts
Thank you for your help, Derek. Msival2 has already caught some additional things for me. I am so far pleasently suprised at the level of support for the WiX Toolset. FYI, we are using it to package up our Point Of Sale application and deliver it to our cash register systems, among other things, so

Re: [WiX-users] Getting current shared application data folder

2006-06-27 Thread Foster, Richard - PAL
Title: Getting current shared application data folder In the immortal words of Homer J Simpson... D'oh!   I blame it on not enough coffee! I knew that really, I'd just temporarily misplaced it!  :-)   Thanks for setting me straight.   Regards, Richard From: Derek Cicerone [mailto:[EMAIL PRO

Re: [WiX-users] Registry element causes error 2727

2006-06-27 Thread Derek Cicerone
Yeah, validation is very good. It's a shame it's so expensive - otherwise it would be nice to have the Installer run it every time. That's the justification of having it on by default in WiX 3.0 - its so valuable for finding issues that its worth the cost on the development side to run the valida

Re: [WiX-users] Directories and registry keys not removed on uninstallation.

2006-06-27 Thread Nicholas Muguira
creates a folder that MSI hasn't installed. In other words, MSI doesn't track it being there, so it won't remove. Any folder with any subitems won't be removed. It's the same principle as installing a file manually. Is there any reason why you are using create folder rather than specifying it in t

Re: [WiX-users] Getting current shared application data folder

2006-06-27 Thread Derek Cicerone
Title: Getting current shared application data folder It’s not necessary to call that API – Windows Installer already does it for you behind the scenes.  Check out http://msdn.microsoft.com/library/default.asp?url="">   Derek   From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] O

[WiX-users] Getting current shared application data folder

2006-06-27 Thread Foster, Richard - PAL
Title: Getting current shared application data folder Greetings all, I'm sure this question has been asked many times… but I can't find it in the archives so I guess I'm searching for the wrong thing. The application we are installing references a database (MDB) file. It is required that

Re: [WiX-users] SQL Extended stored procedures

2006-06-27 Thread Albert van Peppen
Great! Thank you very mucho!   The [D4WSQLSERVER] property was indeed unknown during uninstall; after reading it from the registry that part was solved (eg. the error that is ;) )And the SqlDb part did the other trick ..I also dropped some more unneccesary stuff to make it more general a

Re: [WiX-users] Registry element causes error 2727

2006-06-27 Thread Derek Cicerone
Checkout msival2 - this is a tool from the Windows Installer team distributed in the SDK which is a little bit more verbose to use than smoke but essentially supports the same functionality. My only caution with running ICEs this way is to disable ICE33. This is the only ICE we actually suggest y

[WiX-users] Check if connection string to database is valid

2006-06-27 Thread Voranc Kutnik
Hello!I have an installation that installs a client, which needs a database  (on SQL Server) to be operational. So, one of the data that user must enter is the connection string to this database. This connection string is than written in config.file and a client use this connection string to conne

Re: [WiX-users] Registry element causes error 2727

2006-06-27 Thread JustinPitts
It looks like validation is still a manual process, at least until Wix 3.0 gets marked stable? I am currently using the latest 2.x, and integrating wix into an extensive daily build process (using ant) .,.,..,...,.,,. Justin E. Pitts, Lead Technical Analyst Data and Applicat

Re: [WiX-users] "SampleUpgrade" WiX seems doesn't work

2006-06-27 Thread Vitaly Dolya
Here you go a working code snippet, works fine for wix 2.0.3116.0 (yep, i know it's obsolete): ... Also, please read documentation carefully about where to place RemoveExistingProducts action into InstallExecuteSequence table.

Re: [WiX-users] Remove folder while uninstalling application

2006-06-27 Thread Voranc Kutnik
Sorry for late reply...Files are created under "Program Files".Thing is that actually directories and files are created inside this problematic directory. So after some time my initial directory structure: - dir1  - dir1.1  - dir1.2 - dir1.2.1  - dir1.3  ...looks like this (for example):- dir1 

Re: [WiX-users] What's the best way to check whether IIS 6.0 or higheris installed on system?

2006-06-27 Thread Joannic Laborde
Check this registry value: HKLM\SYSTEM\CurrentControlSet\Services\W3SVC\Parameters\MajorVersion   From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of dangle123 ... Sent: June 26, 2006 9:51 PM To: wix-users@lists.sourceforge.net Subject: [WiX-users] What's the best way

Re: [WiX-users] Error message box appears in the upper half of thescreen

2006-06-27 Thread David Welch
So it is. It appears the standard dialog boxes use 10 rather than 50. Thanks! Rob Hamflett wrote: > I had this. I discovered my Y coordinate for the Error dialog was set > wrong. Not sure if that helps at all, but something you could > double-check to rule it out. > > Rob > > David Welch wr

Re: [WiX-users] "SampleUpgrade" WiX seems doesn't work

2006-06-27 Thread Dmitryus
Bob, thank you. So I have to do all my product releases (1.0.0, 1.0.1, ... 99.999.) as a major updates. But - how to determine that some build/update is already installed? I'd like to simply uninstall previous version after never one has been installed (no "REINSTALL=ALL REINSTALLMODE=vomus")

Re: [WiX-users] Error message box appears in the upper half of the screen

2006-06-27 Thread Rob Hamflett
I had this. I discovered my Y coordinate for the Error dialog was set wrong. Not sure if that helps at all, but something you could double-check to rule it out. Rob David Welch wrote: > Hi, > > I have a problem where any error message boxes, such as the "Are you > sure you want to cancel th

[WiX-users] Error message box appears in the upper half of the screen

2006-06-27 Thread David Welch
Hi, I have a problem where any error message boxes, such as the "Are you sure you want to cancel the installation" message box, appear in the top half of the screen not in the middle or over the main installation dialog box. I've never used WiX for creating installations, but have created an