[WiX-users] Separate ExitDialog for Uninstall

2008-06-20 Thread Troy Simpson
Hi, I'm building the new win32 installer for Subversion with WiX but I've struck one snag. I would like to display a different dialog for install, uninstall, and possibly repair. I have customised the ExitDialog to show a nice post-install message for users, but obviously upon uninstall it

Re: [WiX-users] Separate ExitDialog for Uninstall

2008-06-20 Thread Calin Iaru
If I were you, I would play with InstallUISequence where some variations could yield the expected results. This is how I display a Firewall Dialog which adds some applications to the Windows Firewall after installation. Normally, the ExitDlg would be displayed when finishing the installation,

Re: [WiX-users] Separate ExitDialog for Uninstall

2008-06-20 Thread Calin Iaru
Or you can use the same ExitDlg and customize the elements inside it like bitmaps, static text, position of elements based on conditions. Control Id=Description1 Type=Text X=135 Y=130 Width=220 Height=40 Text=For new users, we recommend that you read the quick guide located on the web.

Re: [WiX-users] Patch build with GAC update

2008-06-20 Thread Neil Sleightholm
That sounds like a bug to me, I would add it to the WiX bug database. Neil Neil Sleightholm X2 Systems Limited [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] From: [EMAIL PROTECTED] on behalf of wixuser1105 Sent: Fri 20/06/2008 02:09 To:

Re: [WiX-users] Removing registry keys via loop/enumeration...

2008-06-20 Thread Martin Lierschof
Basically you can use registry search for this, in the example below I am searching for a directory in the registry to exist. To Delete just Action=remove. I don't know if registry search provides wildcard. Property Id=INSTALLDIR Value='C:\Nothing' RegistrySearch Id='ToSearch'

Re: [WiX-users] Separate ExitDialog for Uninstall

2008-06-20 Thread Troy Simpson
Thanks for the suggestions Calin, Preferably, I'd like to have the condition in the modified ExitDlg - I've made a copy of it and using that instead. The existingproducts condition did not seem to make any difference, the control code is as follows: Control Id=PostText

[WiX-users] Passing the 'installdir' to a custom action in modified format

2008-06-20 Thread Akshat Sharma
Hi, I am facing a problem sending a string as a command line argument to a custom action which is a c++ build. Actually I need to send the Installation directory to the custom action. Suppose my user chooses installation directory as C:\Program Files\XYZ. But my custom action which is a c++

Re: [WiX-users] Separate ExitDialog for Uninstall

2008-06-20 Thread Calin Iaru
EXISTINGPRODUCTS was a suggestion; what you need to do is to use a different property that when set, will show a different dialog control. For instance, if the user does an uninstall, use the REMOVE=ALL condition. Troy Simpson wrote: Thanks for the suggestions Calin, Preferably, I'd like

Re: [WiX-users] Separate ExitDialog for Uninstall

2008-06-20 Thread Troy Simpson
The Remove=All didn't work, I had tried variations of that previously. I looked at the Remove button on the maintenance dialog and the property that is being set is WixUI_InstallMode, and the value is Remove, so I tried the condition: Not WixUI_InstallMode=Remove That did not work either. I

Re: [WiX-users] Separate ExitDialog for Uninstall

2008-06-20 Thread Calin Iaru
There is a difference between REMOVE and Remove - the first one is a public property, the second is a private: http://msdn.microsoft.com/en-us/library/aa371245(VS.85).aspx I will let others to continue on this issue. Perhaps I will look at your project. Troy Simpson wrote: The Remove=All

Re: [WiX-users] Patch build with GAC update

2008-06-20 Thread wixuser1105
I am new to WIX and MSI. can I use REINSTALLMODE to force replace assembly in the GAC? Neil Sleightholm wrote: That sounds like a bug to me, I would add it to the WiX bug database. Neil Neil Sleightholm X2 Systems Limited [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] -- View this

Re: [WiX-users] Patch build with GAC update

2008-06-20 Thread Neil Sleightholm
I am afraid I don't know. Neil Neil Sleightholm X2 Systems Limited [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] From: [EMAIL PROTECTED] on behalf of wixuser1105 Sent: Fri 20/06/2008 10:58 To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] Patch

Re: [WiX-users] Separate ExitDialog for Uninstall

2008-06-20 Thread Troy Simpson
I think I see where this is going, but hopefully it might be more intuitive. I can set a property based on whether the product is already installed, but what I need to do is retrieve the property value when the remove button is clicked. Given that the property set by the remove button is private,

[WiX-users] [wix-users] Windows Service (ServiceControl)

2008-06-20 Thread wixuser1105
I have an issue with windows service startup. following is the WIX xml fragment. Component Id=C1 Guid=F504963A-BC48-4703-B978-B31CCDD0E3A5 File Id=WS1 Name=WS1.exe DiskId=1 Source=$(var.buildPath)\WS1.exe/File File Id=WS1.config Name=WS1.config DiskId=1

[WiX-users] reading install path from registry for add-on

2008-06-20 Thread Koloszar Jozsef
hi, i'm trying to write an installer for an addon. the dumb way, but i have to. i'm reading the main install path of the main/parent app from registry. it is stored there as a full path string like D:\Not Program Files\InstalledHereInstead\Foo App\ i read it using Property Id=INSTALLDIR

[WiX-users] Skip EULA (Wix3)

2008-06-20 Thread Peter Smit
Hey, I'm working with Wix 3. I want to create a UI installer with WixUI_Mondo . Is there a possibility (configuration statement) to leave the License agreement out? Thanks for help, Peter Smit http://www.petersmit.eu -

Re: [WiX-users] Separate ExitDialog for Uninstall

2008-06-20 Thread Calin Iaru
I will not do the research for you - the link I sent shows the difference between a public and a private property. In short public properties are also properties that are set as a result of user interaction. What you are doing is not setting a property, but an event which is called Remove as

Re: [WiX-users] reading install path from registry for add-on

2008-06-20 Thread Rob Hamflett
You can use a Directory Id like a property. E.g. You can have Directory Id=TARGETDIR Name=SourceDir Directory Id=ProgramFilesFolder Name=PFiles Directory Id=PRODUCTDIR Name=MyProduct ... Components ... /Directory /Directory /Directory You can then use a Custom Action (or I

[WiX-users] DTF custom action questions

2008-06-20 Thread Evans, Jim
My installation creates and then interacts with a SQL Server database. Up until now, I've been able to do everything I need to do from WiX using the standard extensions, but now I'm facing a problem for which I need a custom action. I have to import some data into my database, but I need to

[WiX-users] Commercial products packaged by WiX toolset

2008-06-20 Thread Husnu Kaplan
Hello, I am planning to compile a list of well-known software applications packaged by WiX toolset. (MS or non-MS does not matter) Could you let this list know about the packages that you noticed built by WiX toolset? Thanks for the help. Husnu

Re: [WiX-users] Commercial products packaged by WiX toolset

2008-06-20 Thread Ryan O'Neill
I did this one, www.viapost.com (still working on it, but live). -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Husnu Kaplan Sent: 20 June 2008 14:35 To: wix-users@lists.sourceforge.net Subject: [WiX-users] Commercial products packaged by WiX toolset

Re: [WiX-users] DTF custom action questions

2008-06-20 Thread Jason Ginchereau
1. In your InstallExecuteSequence, you could schedule your CA relative to the WixSqlExtension CA like this: Custom Action=MySqlCA After=InstallSqlData ... You'll need to do the work in a deferred CA, because the WixSqlExtension CAs do their work in the deferred phase. But it is a

[WiX-users] Search for Installed Windows Component

2008-06-20 Thread Akshat Sharma
Hi, Is there a way to search for installed windows components ? Suppose I have to search whether .Net is installed it or not. Can I do so without the use of custom actions? Regards, Akshat - Check out the new

Re: [WiX-users] [wix-users] Windows Service (ServiceControl)

2008-06-20 Thread andywhitt
What Operating System is this on? I'm having a problem with services http://www.nabble.com/Service-Failing-to-Start-on-Vista-td18008909.html#a18008909 here Seems to be a Vista Issue mainly for me, with the service trying to start before all files and merge modules are installed. wixuser1105

[WiX-users] Votive support for VS 2005

2008-06-20 Thread carlldev
Hi Rob and co, I have installed the 3.0.4214.0 version of Wix on my Windows 2003 SP2 machine (Visual Studio 2005). I created a new WiX project, and though the process created 4 files (Product.wxs, WixProject1.sln, WixProject2.suo, WixProject2.wixproj), it only shows Product.wxs in the editor

Re: [WiX-users] Newbee - How to convert MSI into XML and back toWIX MSI?

2008-06-20 Thread Mathur, Uttam (GTS)
Thanks Chris, using your solution I was able to create .wxs file from the MSI. But when I compile it using Candle, I receive the following errors (3 errors and 2 warnings): -

Re: [WiX-users] Skip EULA (Wix3)

2008-06-20 Thread Troy Simpson
I don't believe you can configure your way around it. You can, however, create your own custom variation of WixUI_Mondo, it's pretty easy to do. Here's how to do it: 1. download wix sourcecode via links from the wix homepage. 2. locate the wixlib folder from here:

Re: [WiX-users] WixCA CAQuietExec does not support x64 - correct?

2008-06-20 Thread Dale Quigg
by daleq Apr 18, 2008; 02:28pm From: Rob Mensching [mailto:[EMAIL PROTECTED] Sent: Friday, April 18, 2008 2:18 PM Actually, we *just* added 64-bit support (took for freakin' ever to put the build back together). I'm not sure CAQuietExec was made 64-bit since we only focused on the CAs that

Re: [WiX-users] Separate ExitDialog for Uninstall

2008-06-20 Thread Tony Juricic
Yes, you can create custom action that sets one property to the value of another. And you can Publish multiple DoAction events on button press. Examples: Property Id=INSTALLDIR Secure=yes / Property Id=WIXUI_INSTALLDIR Value=INSTALLDIR / Property Id=MY_PROP_TEMPFOLDER Secure=yes /

Re: [WiX-users] DTF custom action questions

2008-06-20 Thread Evans, Jim
Thanks Jason, this gets me most of the way to where I need. Let me see if I understand this correctly: * I create two CustomAction elements in my WiX project, one for the immediate custom action, one for the deferred. * Then, I schedule the immediate custom action using a Custom element in my

Re: [WiX-users] Separate ExitDialog for Uninstall

2008-06-20 Thread Troy Simpson
Apparently my response got lost in the mail, apologies if it is received twice. My response contains the solution. Troy -Original Message- From: Troy Simpson [mailto:[EMAIL PROTECTED] Sent: Saturday, 21 June 2008 9:00 AM To: 'General discussion for Windows Installer XML toolset.'