Re: [WiX-users] Wix Pre-requisite Dialog

2008-08-19 Thread pavan gadam
Hi , I want to display a control depending on the value of the property. I tried this below: ?if IISCHECK~=? control id=yeslabel x=10, y=10, width=50 Height=50 text=yes /control ?endif? Even if registry search fails the label is getting displayed. I suspect the property IISCHECK is

Re: [WiX-users] Multiple RegistrySearch elements

2008-08-19 Thread Neil Sleightholm
Thanks for the input. When looking at it again it does seem to depend too much on the order and as that can't be controlled I think I will have to split it out with some custom actions. Neil -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Alexander

[WiX-users] Backup File before reinstall

2008-08-19 Thread xiaoli
I made a major upgrade for reinstallation. But encountered an issue to backup the files which are already installed before. I'd like to build a executable project in VS to do this. I want to know if there is any way to do it in WiX? Thanks in advance. -- View this message in context:

Re: [WiX-users] Repair-Dialog appears after executing Hotfix.msp

2008-08-19 Thread postingbox
Now I install the patch like that: msiexec /update patch_01.msp REINSTALL=ALL /l*v a_patch.log /quiet Thank's for all the answers and the help! Chris There's also this info about patch installation needing REINSTALL and REINSTALLMODE to be set, plus how to do that so a double-click on a MSP

[WiX-users] launch an application during installation

2008-08-19 Thread zynkerr
hi, i want to launch an application form the [SourceDir] at a specified moment during installation. i tryed: InstallExecuteSequence Custom Action='LaunchMyApp' After='InstallFinalize'NOT Installed/Custom /InstallExecuteSequence Property Id='MYAPP'[SourceDir]app.exe/Property CustomAction

[WiX-users] replacement for XmlFile

2008-08-19 Thread bryan rasmussen
Hi, I want to do similar things to what Xmlfile does, but I need to also edit attributes - from what I can see from the documentation this is impossible. In that case what is the best way to replace XmlFile Cheers, Bryan Rasmussen

Re: [WiX-users] replacement for XmlFile

2008-08-19 Thread Michael Putters
Hi, Actually XmlFile can do it: util:XmlFile Id=... Action=setValue Name=your_attribute Value=your_value ElementPath=/whatever/tag File=... Sequence=... / Regards, Michael -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of bryan rasmussen Sent: 19

[WiX-users] util:CloseApplication - how do I use it

2008-08-19 Thread Neil Sleightholm
I am struggling to get util:CloseApplication to work and wondered if anyone else has got it working (I am using 3.0.4415.0). First, what I would expect to see is a dialog offering to close my application if it is still running - is this what it does? I have added a line like this to my

[WiX-users] Patching resets WebAppPool's Password

2008-08-19 Thread Faraz
Hi, I have an installation that creates a User and assigns it to a WebAppPool. The credentials of the User are obtained through a custom dialog. I then went on to create an MSP for this installation that replaces some files. Everything works fine but when uninstalling the patch, it seems that

[WiX-users] Patching resets WebAppPool's Password

2008-08-19 Thread Faraz
Hi, I have an installation that creates a User and assigns it to a WebAppPool. The credentials of the User are obtained through a custom dialog. I then went on to create an MSP for this installation that replaces some files. Everything works fine but when uninstalling the patch, it seems that

Re: [WiX-users] Patching fails with 1627

2008-08-19 Thread Tony Juricic
Good to know! Hopefully WiX compiler can catch these errors in the future. What you described looked very similar to my past experience but, checking the old forum posts I see that it caused a different error: 1328. Basically I had a case like: RTM.msi Update1.msi Update2.msi ... etc. My

Re: [WiX-users] serviceinstall problems

2008-08-19 Thread Michael Putters
Hello, I use ServiceInstall as well (even though it's not .NET), the only difference I see is that you're specifying the user account/password and I don't. Have you tried without those two attributes? Regards, Michael -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL

Re: [WiX-users] serviceinstall problems

2008-08-19 Thread Eitan Behar
Try using the user account with the format domain\account name: Account=MYDOMAIN\MyOwnself Password=Whatever I was dealing with this five mins ago :^) On Tue, Aug 19, 2008 at 3:31 PM, Michael Putters [EMAIL PROTECTED] wrote: Hello, I use ServiceInstall as well (even though it's not .NET),

Re: [WiX-users] New wix binary delta patching doesn't work

2008-08-19 Thread Tony Juricic
Ok, that makes sense. However, I can't get it to work either way. The problem is not in changing just the 4th version number either. I created a simple C# console executable that has one line of code: Console.Writeln(This is version 1.0.0.0); and assembly info AssemblyVersion(1.0.0.0)] and

Re: [WiX-users] serviceinstall problems

2008-08-19 Thread Pierson Lee (PIE)
1. I don't think you need 2 servicecontrol tags. You can combine the two you have and use one (I haven't tried two so I don't know if that's an issue). 2. Make sure that the person installing has admin rights on your install server. 3. if UAC is enabled, disable it (only on vista/server 2008) 4.

Re: [WiX-users] replacement for XmlFile

2008-08-19 Thread Pierson Lee (PIE)
Also check out XmlConfig as I've been told it is more robust if all you're doing is changing XML values in XML files. Example: util:XmlConfig Id=settings2 Action=create File=[#file3] Sequence=2 ElementPath=/configuration/appSettings/[EMAIL

Re: [WiX-users] launch an application during installation

2008-08-19 Thread Pierson Lee (PIE)
A property cannot have an embedded property within it. To do this, you have to do use a custom action that resolves your property into another property. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of zynkerr Sent: Tuesday, August 19, 2008 1:26 AM To:

Re: [WiX-users] launch an application during installation

2008-08-19 Thread Chad Miles
You could also probably use a filekey attribute instead of property??? On Tue, Aug 19, 2008 at 10:51 AM, Pierson Lee (PIE) [EMAIL PROTECTED] wrote: A property cannot have an embedded property within it. To do this, you have to do use a custom action that resolves your property into another

[WiX-users] Re start a service and running sql scripts separately

2008-08-19 Thread MarkZune
I need to be able to do the following: Create DB and run several SQL scripts. Start a service which writes to above created database. Stop above service. Run additional SQL scripts that rely on data being entered in to DB by above service. Start service

[WiX-users] FirewallException Element

2008-08-19 Thread Neil Sleightholm
I am using the FirewallException Element to open up various ports that my applications needs. One of the ports I need to open is the SQL Server port used by the instance I have installed. This isn't fixed when you install SQL server so I need to read a registry key to find the port and then allow

Re: [WiX-users] launch an application during installation

2008-08-19 Thread Neil Sleightholm
A property cannot have an embedded property within it. To do this, you have to do use a custom action that resolves your property into another property. Or use SetProperty (which is essentially the same thing without the hard work). Neil Neil Sleightholm X2 Systems Limited [EMAIL PROTECTED]

Re: [WiX-users] Re start a service and running sql scripts separately

2008-08-19 Thread MarkZune
I need to be able to do the following: Create DB and run several SQL scripts. Start a service which writes to above created database. Stop above service. Run additional SQL scripts that rely on data being entered in to DB by above service. Start service

Re: [WiX-users] Default website gets removed on Uninstall

2008-08-19 Thread Pierson Lee (PIE)
Are you passing your port number in at uninstall? Does your port in your properties have a default value? Because your Virtual Directory and website are in the same component, and your GUID for both are the same, I think it is uninstalling the second component with the site creation. Look at

Re: [WiX-users] Default website gets removed on Uninstall

2008-08-19 Thread j-mauger
Thanks for the reply. OK, I changed the GUIDs, and now the Default Web Site doesn't get removed on uninstall when the port is 80. So far so good. When the port is not 80, the Default Web Site gets removed on uninstall. This must be because the port property has a default value of 80 in my

Re: [WiX-users] Default website gets removed on Uninstall

2008-08-19 Thread Pierson Lee (PIE)
That's one of the big issues I've been trying to solve. You can probably set another conditional if you can find a good way to check and see if the site already exists. I've been meaning to spend more time to allow a user to either A) create a new site or B) use an existing site and I haven't

Re: [WiX-users] Default website gets removed on Uninstall

2008-08-19 Thread Neil Sleightholm
When the port is not 80, the Default Web Site gets removed on uninstall... I guess I need to store the port number in the registry, and do a registry search to set the port number on uninstall. Sorry to jump in but I think the problem is that you aren't storing the port for uninstall. Neil

Re: [WiX-users] How do I execute deferred CAs (for unit testing custom actions)?

2008-08-19 Thread Richard
In article [EMAIL PROTECTED], dB. [EMAIL PROTECTED] writes: I still don't know how to launch deferred CAs (Anyone? Please?), [...] Didn't I already answer you on the MSI newsgroup? -- The Direct3D Graphics Pipeline -- DirectX 9 draft available for download

Re: [WiX-users] Default website gets removed on Uninstall

2008-08-19 Thread misuo
Hi, As far as I've understood, and irrespectively of your port issue, a WebSite element under a Component element will always create a WebSite (even if it is the Default Web Site) and thus also remove it on uninstall. You THINCTRAX_PORT 80 sniffet should not include a WebSite element but

Re: [WiX-users] Default website gets removed on Uninstall

2008-08-19 Thread Pierson Lee (PIE)
I think he is stating that if the port isn't 80, he needs a website created otherwise, he wants to use the default. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: Tuesday, August 19, 2008 11:24 AM To: wix-users Subject: Re:

Re: [WiX-users] Default website gets removed on Uninstall

2008-08-19 Thread Luke Bakken
On Tue, Aug 19, 2008 at 10:26 AM, Pierson Lee (PIE) [EMAIL PROTECTED] wrote: That's one of the big issues I've been trying to solve. You can probably set another conditional if you can find a good way to check and see if the site already exists. I've been meaning to spend more time to allow

Re: [WiX-users] Patching fails with 1627

2008-08-19 Thread Bob Arnson
Shawn Dwyer wrote: So for anyone else running into this issue, apparently one of the causes could be too many characters in the Id field of the TargetImage element, which has a max length of 13 characters. The same for the UpgradeImage element. Can you file a bug? It sounds like

Re: [WiX-users] Which installer do i need ?

2008-08-19 Thread Bob Arnson
Andy2008 wrote: If im using team foundation server does wix have to be installed on team foundaiton server also ? (TFS is a single machine running build and TFS) That's easiest, though you can also check in the files; see Integrating WiX Projects Into Daily Builds in WiX.chm. With the

Re: [WiX-users] Running an executable from a launch condition and generating guids from visual studio

2008-08-19 Thread Bob Arnson
Sean Farrow wrote: I am writing an updated installer for a friend. Previously the installer use a free system. With in the new installe I want to grab a registery key (if another registry key exists) and then run an executable referenced by the first registry key. Can I do this in a launch

Re: [WiX-users] WiX 3.0.4415.0 - Setupbld / Bootstrapper Changes

2008-08-19 Thread Bob Arnson
Reid Siglin wrote: I was very excited to see the addition of new switches to the self-extracting exe program in WiX. I noticed that the switches that were added did not include one for an admin install like passing the parameter /a to misexec. I realize that it would also be possible to

Re: [WiX-users] What happened to Error and Warning details in VS 2005 Output window?

2008-08-19 Thread Bob Arnson
Schuett, Michael wrote: After upgrading from 3.0.2925.0 to 3.0.4401.0 I noticed that while building in Visual Studio 2005 the error and warning detail info no longer appears in the Output window. It's a known bug in VS2005 that the Votive folks haven't worked around yet. -- sig://boB

Re: [WiX-users] Multiple RegistrySearch elements

2008-08-19 Thread Bob Arnson
Neil Sleightholm wrote: Thanks for the input. When looking at it again it does seem to depend too much on the order and as that can't be controlled I think I will have to split it out with some custom actions. Without a column to order the searches, order is undefined. Roll the die. It's

Re: [WiX-users] FirewallException Element

2008-08-19 Thread Bob Arnson
Neil Sleightholm wrote: Is this possible? If not should I raise a feature request or bug? No, Port is an xs:integer type, not formatted. Please file a feature request. -- sig://boB http://joyofsetup.com/ - This

Re: [WiX-users] Develop extension that will executed on link stage (lit.exe)

2008-08-19 Thread Bob Arnson
Dmitry Berkovich wrote: Its mean that only on link stage I can calculate real sequence for all objects of MyLogic type. Can I do it in Wix v3? Yes, but it will be difficult to do what you want. There isn't yet a generalized linker extension so the only way to do it is via a binder

Re: [WiX-users] util:CloseApplication - how do I use it

2008-08-19 Thread Bob Arnson
Neil Sleightholm wrote: I am struggling to get util:CloseApplication to work and wondered if anyone else has got it working (I am using 3.0.4415.0). First, what I would expect to see is a dialog offering to close my application if it is still running - is this what it does? No, it doesn't

Re: [WiX-users] serviceinstall problems

2008-08-19 Thread Bob Arnson
bryan rasmussen wrote: keep getting an error when the MSI actually attempts to install the MSI saying I don't have the rights to do it. It's a generic error message; it doesn't indicate an actual permissions problem. Does your service have dependencies on any other assemblies being

Re: [WiX-users] Default website gets removed on Uninstall

2008-08-19 Thread Pierson Lee (PIE)
Where in the registry are the web sites listed? If I knew where to look I could use the same flags. With IIS7 the issue is a bit less because of the ApplicationHost.Config that it uses lists all the websites. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf

Re: [WiX-users] How do I execute deferred CAs (for unit testingcustom actions)?

2008-08-19 Thread dB.
I just saw your reply. Thanks. Your approach is the shim one that we eventually abandoned because implementing the more complex MSI functions was a lot of work. Check out http://code.dblock.org/ShowPost.aspx?id=7, we use an actual MSI now. -Original Message- From: [EMAIL PROTECTED]

[WiX-users] Can I create an MSI that leaves no footprint?

2008-08-19 Thread Jay Thaler
Is it possible to use WiX to create an MSI that will not register itself with Windows? I want to be able to run the MSI multiple times without having to uninstall, if I so desire. I don't want it to register itself for uninstall or to appear in add/remove programs or otherwise affect anything

Re: [WiX-users] Votive no longer works

2008-08-19 Thread Chandra Vuppala
Hi All, I am facing same problem, can anyone give solution for this problem. Thanks Regards, Chandrashekar vuppala From: [EMAIL PROTECTED] on behalf of Stephen Askew Sent: Mon 18/08/2008 5:33 PM To: wix-users@lists.sourceforge.net Subject: [WiX-users]