Re: [WiX-users] Uninstall fails after upgrade with Error 25532. Failed to find node:

2011-06-28 Thread David Watson
The MSI file replacement process says that if a non-versioned file has been modified since installation (even if it was the installer that modified it) then it will not be overwritten on upgrade. See http://msdn.microsoft.com/en-us/library/aa370532(VS.85).aspx Did you try that before writing

Re: [WiX-users] Uninstall fails after upgrade with Error 25532. Failed to find node:

2011-06-28 Thread Pally Sandher
Sounds a lot like this - http://sourceforge.net/tracker/index.php?func=detailaid=3131700group_i d=105970atid=642714 Try using XMLConfig instead as suggested on that bug report see if it fixes it for you. Palbinder Sandher Software Deployment Engineer T: +44 (0) 141 945 8500 F: +44 (0) 141 945

Re: [WiX-users] PathEdit Help

2011-06-28 Thread Pally Sandher
Error Code 2228 is according to MSDN Database: [2]. Unknown table '[3]' in SQL query: [4]. - http://msdn.microsoft.com/en-us/library/aa372835.aspx The only difference I can see between your PathEdit control the one in the WiX UI source for InstallDirDlg is the WiX UI source has Indirect=yes. I

Re: [WiX-users] Check the checkbox programmatically

2011-06-28 Thread Pally Sandher
According to my Google this has been discussed on the list many times. Set the Control's Property to whatever you specify in CheckBoxValue to check it, set it to {} to uncheck it. Perhaps try Bing next time if Google is failing you. Palbinder Sandher Software Deployment Engineer T: +44 (0) 141

Re: [WiX-users] Burn log - Error 0x80070002: Failed to install MSIpackage.

2011-06-28 Thread Pally Sandher
I don't use Burn but I would check why it's using the path \.\Packages\X.msi as the Note: 1: 1324 2: . 3: 1 in the log refers to an invalid character . in a path that's the only path I can see in your log which has a . in it it appears to start rolling back right after that. Palbinder Sandher

Re: [WiX-users] Uninstall fails after upgrade with Error 25532. Failed to find node:

2011-06-28 Thread sainathas
@WyrdFish, Thanks for the reply. As MSI won't rewrite the unversioned file if it is modified, I have taken the following approach as a workaround. During install, my custom action writes some valus to web.config. During upgrade, installer wouldn't replace this web.config file as it is

Re: [WiX-users] Using the same .exe file for different services in one MSI?

2011-06-28 Thread Pally Sandher
Seems eminently possible using ServiceInstall if you use one Component with one File as the KeyPath multiple ServiceInstall elements. However if your Services need to be in separate Components then I think you'll need to use Custom Actions. Unfortunately Windows Installer is the weak link here

Re: [WiX-users] Uninstall fails after upgrade with Error 25532. Failed to find node:

2011-06-28 Thread Pally Sandher
You could simply avoid creating duplicate entries by using appropriate Conditions thus neatly side-stepping the whole, move replace procedure which appears to be the root of your problem. Palbinder Sandher Software Deployment Engineer T: +44 (0) 141 945 8500 F: +44 (0) 141 945 8501

Re: [WiX-users] Uninstall fails after upgrade with Error 25532. Failed to find node:

2011-06-28 Thread sainathas
Initially I tried making that component that writes to the web.config file conditional, so that it gets executed only during install but not during upgrade or removal. But that condition failed. I have used *Not Installed* property to make this component conditional. So i don't have a choice

Re: [WiX-users] Uninstall fails after upgrade with Error 25532. Failed to find node:

2011-06-28 Thread Pally Sandher
You do have a choice. dblock has already done the hard work of writing appropriate Conditions for you - http://code.dblock.org/ShowPost.aspx?id=101 You can use those Properties in your Conditions thus you no longer need Custom Actions to work around something which doesn't need a work around.

Re: [WiX-users] WIXproj file schema?

2011-06-28 Thread Waffle Souffle
After some googling, the schema appears to live in wix.xsd. On my machine this is installed to C:\Program Files\Windows Installer XML v3.5\doc\wix.xsd which is identical to what's in YourVisualStudioInstallDirectory\Xml\Schemas\wix.xsd Eric Teutsch Mon, 20 Jun 2011 11:07:02 -0700 Hi, I have to

Re: [WiX-users] Replacing regsvr32 commands with Wix elements

2011-06-28 Thread Rob Mensching
Yes, the Class element would handle the first couple registry keys.We don't have elements for the extra Shell folder stuff today though so given how much registry there is specific to shell-goo, you might be best off with the registry elements. smile/ A WiX extension that handled the Shell

Re: [WiX-users] Custom UI Controls

2011-06-28 Thread Rob Mensching
Correct, that's one of the big features that Burn brings in WiX v3.6. On Thu, Jun 23, 2011 at 7:34 AM, ColinBowern co...@bowern.com wrote: @Palbinder - I am looking specifically how to inject custom controls - not change the order of the UI or modify the dialog layout itself. Any of the

Re: [WiX-users] Bug in 3.5 Votive?

2011-06-28 Thread Rob Mensching
Yeah, VS and MSBuild and Votive conspire in evil ways to prevent the value from coming back in a way that you can edit. You can actually get into this same situation with C# projects. You have to edit the .wixproj (or .csproj is you mess up your C# project, like I did once) to fix it. On Tue,

Re: [WiX-users] torch.exe under Wine

2011-06-28 Thread Rob Mensching
It seems like Wine hasn't implemented the MsiGenerateTransform() function. Without that Torch isn't going to be much use to you. The WiX toolset works (or at least it did work a couple years ago, I haven't checked in a while) on Mono but you need the MSI API implemented so that means Windows or

Re: [WiX-users] How to assign a self signed certificate to port 443 of website

2011-06-28 Thread Rob Mensching
WebSite/CertificateRef then a Certificate element, IIRC. It was a long time ago that I dealt with certificates and web sites... On Tue, Jun 28, 2011 at 8:36 AM, Ryan Scott rsc...@computerlabsolutions.com wrote: Joe, I'm trying to do something similar. Did you have any luck figuring this one

[WiX-users] How to: dynamically decide registry path to write to based on OS architecture

2011-06-28 Thread Sameer Arora
Hi, I need a way decide the registry path to write to based on the OS architecture the installer is installing on. E.g: If OS is x64 bit create a registry key under HKLM\SOFTWARE\WoW6432Node\MyCompany otherwise write to create a registry key under HKLM\SOFTWARE\MyCompany To achieve this, I

[WiX-users] How to assign a self signed certificate to port 443 ofwebsite

2011-06-28 Thread Thai-Hoa Nguyen
DirectoryRef Id=INSTALLLOCATION Component Id=WebSiteComponent Guid= KeyPath=yes Win64=yes iis:WebAppPool Id=MyAppPoolID Name=My Application Pool ManagedRuntimeVersion=v4.0 ManagedPipelineMode=integrated / iis:Certificate Id=SslCertificate

[WiX-users] WiX as Build Factory for Multiple MSIs?

2011-06-28 Thread Steve Craft
Hey all. This is a combination batch/MSBuild and WiX question: I have a .wxs that builds a .MSI with the output from a console app. I now need to build the same MSI 3 times, changing some parts of the .wxs and some parts of the .exe.config for the console app (the console app does not need

[WiX-users] How do you share dll's between executabled files

2011-06-28 Thread Robert Hermann
I've got a wix installer that installs a backend service and a front end to control the backend service. The Admin front end is being placed in one directory and the service is being placed in another directory. They have a few dlls that I would like to share between them. My plan is to

Re: [WiX-users] How do you share dll's between executabled files

2011-06-28 Thread Chad Petersen
We place some of our shared files in C:\Program Files\Common Files\our company name -Original Message- From: Robert Hermann [mailto:rob.herm...@nicewareintl.com] Sent: Tuesday, June 28, 2011 1:14 PM To: General discussion for Windows Installer XML toolset. Subject: [WiX-users] How do you

Re: [WiX-users] How do you share dll's between executabled files

2011-06-28 Thread Chad Petersen
Oh, and there is a known property called CommonFilesFolder as documented here. http://msdn.microsoft.com/en-us/library/aa367994%28VS.85%29.aspx So, makes it real easy to use. -Original Message- From: Chad Petersen [mailto:chad.peter...@harlandfs.com] Sent: Tuesday, June 28, 2011 1:46

[WiX-users] Burn: Is it possible/supported to bootstrap Windows Installer 4.5?

2011-06-28 Thread Dan Puza
Here is the situation: I am creating a Burn bootstrapper to install my app (an MSI) and its prerequisites. One of the prereqs is SQL Server 2008. One of SQL Server's prereqs is Windows Installer 4.5. Unsurprisingly, the WI4.5 installer exit code is 0xbc2 REBOOT REQUIRED. Can I manage

[WiX-users] Burn: Community package definitions

2011-06-28 Thread Dan Puza
Is there a community location where standard package definitions are publicly available in one common repository? If not, that would seem like a good idea, so that each of us individually are not all reinventing the wheel. For example, I just made a separate post asking about problems I'm

Re: [WiX-users] Burn: Community package definitions

2011-06-28 Thread Bruce Cran
On 28/06/2011 23:08, Dan Puza wrote: For example, I just made a separate post asking about problems I'm having bootstrapping Windows Installer 4.5 and SQL Server 2008. I wouldn't wish the trial and error pain and time on anybody duplicating the same effort. That doesn't seem like it

[WiX-users] SQL Scripts Question

2011-06-28 Thread CoolBreeze
I have a set of SQL Scripts that run and create tables, stored procedures, and populates a couple of the created tables. We are only doing MajorUpgrades with our installer. Is there a way that when it comes time to run a Major Upgrade that I can prevent the SQL Scripts from running again? I want

Re: [WiX-users] SQL Scripts Question

2011-06-28 Thread Michael Osmond
Hi What I have done, is to have two components for the Database, one is conditioned to be installed if it is a clean install (not a major upgrade) and the other is installed on the major upgrade, not on clean install. The initial table creation script is against the first component, but not

Re: [WiX-users] SQL Scripts Question

2011-06-28 Thread CoolBreeze
That sounds like a good idea. Thanks I'll look at updating my installer. On Tue, Jun 28, 2011 at 9:58 PM, Michael Osmond mosm...@baytech.com.auwrote: Hi What I have done, is to have two components for the Database, one is conditioned to be installed if it is a clean install (not a major