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

2011-06-28 Thread Rob Mensching
Burn will support an immediate (aka: forced) restart. You should map exit codes from the MSI4.5 installer using the ExeEngine/ExitCode element so that restart means force restart. Actually, looking at the documentation, it looks like candle is missing suport for that. Heh, the engine (Burn) suppor

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

2011-06-28 Thread Rob Mensching
We'll definitely want to look at the GenerateBootstrapper package definitions and see how much we can borrow/steal. On Tue, Jun 28, 2011 at 3:08 PM, Dan Puza wrote: > Is there a community location where "standard" package definitions are > publicly available in one common repository? If not, th

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 wrote: > 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 othe

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 th

[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 to

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 sh

[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 hav

[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 reboot

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 PM

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\ -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 share dll's betw

[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 inst

[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 rebu

Re: [WiX-users] Failed to configure IIS web svc ext

2011-06-28 Thread taiwah70
I noticed the SSL port is not removed after unisntalling the product. //check the SSL port netsh http show sslcert ipport=0.0.0.0:443 //remove SSL port netsh.exe http delete sslcert ipport=0.0.0.0:443 -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.co

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

2011-06-28 Thread Thai-Hoa Nguyen
During uninstallation, you need to remove port 443 by writing a CA function to execute this: netsh.exe http delete sslcert ipport=0.0.0.0:443

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

2011-06-28 Thread Castro, Edwin G. (Hillsboro)
Create a x86 msi package and use the following authoring http://www.example.com"; Action="append" KeyPath="yes" Type="string"/> A x86 msi package will automatically get redirected to use 32-bit registry locations. Edwin G. Castro Software Developer - Staff

[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 nest

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 wrote: > Joe, I'm trying to do something similar. Did you have any luck figuring > this > one out? > > On Sun, Jun 19, 2011

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 WIN

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

2011-06-28 Thread Ryan Scott
Joe, I'm trying to do something similar. Did you have any luck figuring this one out? On Sun, Jun 19, 2011 at 5:26 PM, Joe Osman wrote: > I am generating a self signed certificate during install time using > makecert and this certificate is installed into the personal store. > > My question is h

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, Jun

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 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 > search results I h

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. A WiX extension that handled the Shell registry goo w

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

2011-06-28 Thread Dan Puza
Thank you my friend, you are a lifesaver! That was indeed the problem, I fixed the path and bang, it worked! Thanks so much for your response and for spotting that...!! -Original Message- From: Pally Sandher [mailto:pally.sand...@iesve.com] Sent: Tuesday, June 28, 2011 6:11 AM To: Gen

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

2011-06-28 Thread sainathas
Ok Thanks Pally Sandher, I will try that. Sainath A. -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Uninstall-fails-after-upgrade-with-Error-25532-Failed-to-find-node-tp6522308p6524663.html Sent from the wix-users mailing list archive at Nabble.co

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 \Xml\Schemas\wix.xsd > Eric Teutsch > Mon, 20 Jun 2011 11:07:02 -0700 > Hi, I have to upgrade a number of WIX 2 pro

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. P

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 excep

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 http://ww

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 r

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 unversione

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

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] 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

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=detail&aid=3131700&group_i d=105970&atid=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

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 your