Re: [WiX-users] Uninstall previous version with new version

2013-09-19 Thread Blair Murri
They have to be minor upgrades of each other (i.e. share the same ProductCode). The three downsides that immediately come to mind are that you cannot double-click version 2.msi and succeed at installing it (you have to supply a special command-line), if the version 2.msi isn't identically named

[WiX-users] Uninstall previous version with new version

2013-09-19 Thread Mark Risen
I remember using this feature from the past. I would have an .msi that is version 1 and another being version 2. I install version 1 on my machine and then I am able to right click the version 2 .msi and select "uninstall" and have it succeed. Does anyone know how to do this? It's quite conveni

Re: [WiX-users] Getting Duplicate Entries in Add/Remove Programs

2013-09-19 Thread Edwin Castro
I assume you are getting duplicate entries after you attempt an upgrade. If so, how is $(var.Version) changing between upgrade attempts? Be aware that Windows Installer only takes the first THREE parts of the ProductVersion into consideration. ProductVersions 1.2.3.4 and 1.2.3.5 are the same Produ

[WiX-users] Getting Duplicate Entries in Add/Remove Programs

2013-09-19 Thread Daniel Sniderman
Not sure what I'm doing wrong. Here's my XML, I've tried other suggestions I've found on this list, Stack Overflow etc - but nothing I do makes a difference. Thanks! http://schemas.microsoft.com/wix/2006/wi"; xmlns:util="http://schemas.microsoft.com/wix/UtilExtension";>

Re: [WiX-users] Service Install Password not sent correctlytoWindows Service

2013-09-19 Thread Swaroop Kare
Thanks Phil for your suggestion. It would be helpful if there is any sample code of implementing crypto api in wix. -Original Message- From: Phil Wilson [mailto:phildgwil...@gmail.com] Sent: 19 September 2013 16:57 To: General discussion for Windows Installer XML toolset. Subjec

Re: [WiX-users] Error 0x80070003: Failed to get size of pseudo bundle

2013-09-19 Thread Blair Murri
What this says is that you erased files that were not expected to be erased. You need to restore the files that were in the Package Cache folder in order to proceed. Error 0x8007003: The system cannot find the path specified. Removal of packages should be done using the normal UI and/or APIs.

Re: [WiX-users] Service Install Password not sent correctly toWindows Service

2013-09-19 Thread Swaroop Kare
Thanks for your suggestion of mentioning about remember pattern, unfortunately I am not supposed to store passwords in registry. Is there any other alternative solution to fix "CreateUser: Error 0x80070103: failed to read attributes from custom action data" while doing a patch update or repai

Re: [WiX-users] Burn, elevate only if needed

2013-09-19 Thread Rob Mensching
Burn should only elevates if necessary. What does the plan say is being installed? On Thu, Sep 19, 2013 at 8:44 AM, Cristian Prieto wrote: > I've been wondering if there's a way to tell to the bootstrapped to ask to > elevate to administrator only if the dependency is needed. > > As part of the

Re: [WiX-users] Service Install Password not sent correctlytoWindows Service

2013-09-19 Thread Phil Wilson
The Crypto API is a Windows coding thing, not WiX code as in wxs. You'd need a custom action using the encrypting/decrypting APIs to store and retrieve the password. A simple search returns this example: http://stackoverflow.com/questions/9221245/how-do-i-store-and-retrieve-credentials-from-the-wi

Re: [WiX-users] [SPAM] Re: Execute script between Msi packages during bootstrapper

2013-09-19 Thread Phill Hogland
One approach might be to add a ExePackage with payloads, if they are needed. -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Execute-script-between-Msi-packages-during-bootstrapper-tp7589078p7589099.html Sent from the wix-users mailing list archive

[WiX-users] [SPAM] Re: Execute script between Msi packages during bootstrapper

2013-09-19 Thread Rob Mensching
Sounds like you want a chainer like Burn! On Thu, Sep 19, 2013 at 10:21 AM, gegeishol wrote: > I want to execute a command prompt script after a certain MSI/EXE package > has > been installed, but before another executes. Is there a way to do this > using > the bootstrapper? > > I cannot edit t

Re: [WiX-users] Service Install Password not sent correctlytoWindows Service

2013-09-19 Thread Blair Murri
Make sure that the crypto store you use corresponds to the ALLUSERS value you are installing with (per-user installs can't require elevation and per-machine installs shouldn't use a per-user store), or you could break repairs done by a different person than first installed your product. Converse

[WiX-users] [SPAM] Re: [SPAM] Re: Errors installing 3.7

2013-09-19 Thread Rob Mensching
I think you want something like this only newer: http://www.microsoft.com/en-us/download/details.aspx?id=6149 On Thu, Sep 19, 2013 at 9:04 AM, wrote: > Any idea which root certificate update I'd need to get installed? > > > Keith Douglas > Statistics Canada | 170 Tunney's Pasture Driveway, Otta

Re: [WiX-users] [SPAM] Re: Execute script between Msi packages during bootstrapper

2013-09-19 Thread Hoover, Jacob
You could write a custom BA, but if your "script" is going to modify machine state then it doesn't belong in the BA. Is there a reason you can do this in a custom action? Even if you don't own either MSI, you could create a 3rd MSI to put between them which simply deploys the changes in ques

Re: [WiX-users] [SPAM] Re: [SPAM] Re: Errors installing 3.7

2013-09-19 Thread Blair Murri
http://search.microsoft.com/en-us/DownloadResults.aspx?q=root+certificate+update > From: r...@robmensching.com > Date: Thu, 19 Sep 2013 11:04:47 -0700 > To: wix-users@lists.sourceforge.net > Subject: [WiX-users] [SPAM] Re: [SPAM] Re: Errors installing 3.7 > > I think you want something like thi

Re: [WiX-users] Errors installing 3.7

2013-09-19 Thread Blair Murri
Probably, yes. The three ways I've seen documented for that error are 1) root certificates need updating, 2) corrupted download, 3) lack of available memory. > From: keith.doug...@statcan.gc.ca > To: wix-users@lists.sourceforge.net > Date: Thu, 19 Sep 2013 11:21:43 -0400 > Subject: [WiX-users] E

Re: [WiX-users] [SPAM] Re: Errors installing 3.7

2013-09-19 Thread Keith.Douglas
Any idea which root certificate update I'd need to get installed? Keith Douglas Statistics Canada | 170 Tunney's Pasture Driveway, Ottawa ON K1A 0T6 Statistique Canada | 170, promenade Tunney's Pasture, Ottawa ON K1A 0T6 keith.doug...@statcan.gc.ca Telephone | Téléphone 613-951-4405 Facsimile | T

Re: [WiX-users] Execution order issue

2013-09-19 Thread Kai Peters
Phil, modified it accordingly (I think..) and this places CA_CopyMasterIni immediately BEFORE InstallFiles in the InstallExecute Sequence table How can I push it AFTER InstallFiles AND have it work? Surely there

Re: [WiX-users] Execution order issue

2013-09-19 Thread Blair Murri
Now that your CA is deferred, what happens if you schedule it right after InstallFiles? Remember, verbose logs tell a lot about what is and/or isn't happening. > From: kpet...@otaksoft.com > To: wix-users@lists.sourceforge.net > Date: Thu, 19 Sep 2013 13:15:38 -0700 > Subject: Re: [WiX-users]

Re: [WiX-users] [SPAM] Re: Bootstrapper -- Can it be UI-less?

2013-09-19 Thread Blair Murri
UI customization is an area that is easy to discount the effort involved but hard to get right. We are open, however, to ideas on making it better. Especially if those ideas include code that work with the engine. The extended BA was an excellent (IMHO) improvement in increasing flexibility in

Re: [WiX-users] Service Install Password not sent correctly toWindows Service

2013-09-19 Thread Phil Wilson
You're kind of stuck. You've committed to supply credentials at install time, but you need to supply them for patch and repair, so you need to store them somewhere. If the registry is not allowed then write a custom action with the Crypto API, things like CredWrite, CredRead etc. Phil Wilson On

Re: [WiX-users] [SPAM] Re: Bootstrapper -- Can it be UI-less?

2013-09-19 Thread Alain Forget
Fair enough. I didn't intend for this to turn into a discussion about open-source development and certainly not a criticism of WiX or the devs. I had merely noticed a spike in UI-customisation requests on the mailing list and I was trying to be helpful by pointing it out and inquiring if there's

Re: [WiX-users] [SPAM] Re: Execute script between Msi packages during bootstrapper

2013-09-19 Thread gegeishol
Sorry, forgot the tag: -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Execute-script-between-Msi-packages-during-bootstrapper-tp7589078p7589093.html Sent from the wix-users mailing list archive at Nabble.com. --

Re: [WiX-users] help! how do I install .net 4.5 from my installer ?

2013-09-19 Thread Phil Wilson
Use a command line that suits your requirements: http://blogs.msdn.com/b/astebner/archive/2010/05/12/10011664.aspx although I wouldn't make it so silent it will not show an error message if it fails. Phil Wilson On Wed, Sep 18, 2013 at 11:20 PM, nkshirsagar wrote: > Is there any other way to d

Re: [WiX-users] Possible to pass ProgressText data to managed bootstrapper?

2013-09-19 Thread Kobus Botha
Thanks! Pretty noisy, but I'll filter it. I'm guessing that there's no way to add something like CustomActionStart to the InstallMessage enum - looks like those are reported by the Windows Installer service i.e. "hardcoded". On 19 September 2013 17:51, Hoover, Jacob wrote: > WixStdBA "should" b

Re: [WiX-users] [SPAM] Re: Execute script between Msi packages during bootstrapper

2013-09-19 Thread gegeishol
How would I execute the script from burn? I have my project set up like this: I want to execute the script AFTER "MyPackage1" BEFORE "MyPackage2". Would it be a custom action? If so, what would the properties be like? -- View this message in context: http://windows-installer-xml-

[WiX-users] Errors installing 3.7

2013-09-19 Thread Keith.Douglas
Hi everyone, I've been trying to install 3.7 on another machine (again with no Internet connectivity). Looks like something about signed packages or the like. The relevant parts of the log (as far as I can tell) follow. For what it is worth (I saw something about this in old messages) this is al

[WiX-users] [SPAM] Re: Errors installing 3.7

2013-09-19 Thread Rob Mensching
Root certificates are the first suspect. On Thu, Sep 19, 2013 at 8:21 AM, wrote: > Hi everyone, I've been trying to install 3.7 on another machine (again > with no Internet connectivity). Looks like something about signed packages > or the like. The relevant parts of the log (as far as I can te

Re: [WiX-users] [SPAM] Re: Bootstrapper -- Can it be UI-less?

2013-09-19 Thread Blair Murri
I think Edwin stated it very well. The exact same thing applies to all (there are several) open source projects I have associated with. > Date: Wed, 18 Sep 2013 17:24:33 -0700 > From: 0ptikgh...@gmx.us > To: wix-users@lists.sourceforge.net > Subject: Re: [WiX-users] [SPAM] Re: Bootstrapper -- Ca

Re: [WiX-users] Burn: define other exe as uninstaller

2013-09-19 Thread Blair Murri
I just noticed the dedicated uninstall exe requirement. If you search this list, there are some people who have had success writing a stub installation wrapper exe that on install runs the installation package and on uninstall runs the uninstallation program. From: os...@live.com To: wix-users

[WiX-users] Execute script between Msi packages during bootstrapper

2013-09-19 Thread gegeishol
I want to execute a command prompt script after a certain MSI/EXE package has been installed, but before another executes. Is there a way to do this using the bootstrapper? I cannot edit the MSI/EXE to include the script, but I need to execute the script in between the installers. -- View this

Re: [WiX-users] Burn: define other exe as uninstaller

2013-09-19 Thread Blair Murri
For each ExePackage if you supply an @UninstallCommand attribute with the uninstall command-line for the EXE installer used, then burn will remove that package for you. To suppress the ARP entries for your ExePackages you would need to supply the appropriate command-line argument for those pac

Re: [WiX-users] Possible to pass ProgressText data to managed bootstrapper?

2013-09-19 Thread Hoover, Jacob
WixStdBA "should" be able to show those messages (in 3.8). Since I didn't want to change existing behavior, if you get a copy of the RtfTheme.xml file, and insert Into the section, and then include the custom theme in your bundle via You should get what you are looking for.

[WiX-users] Burn, elevate only if needed

2013-09-19 Thread Cristian Prieto
I've been wondering if there's a way to tell to the bootstrapped to ask to elevate to administrator only if the dependency is needed. As part of the bootstrapped process I require the .NET fx but even if it is already installed it request elevation just to check? Why? It should require elevation o

Re: [WiX-users] Possible to pass ProgressText data to managed bootstrapper?

2013-09-19 Thread Rob Mensching
Burn engine should be sending those via the OnExecuteMsiMessage() callback. On Thu, Sep 19, 2013 at 2:22 AM, Kobus Botha wrote: > Hi WiX users! > > I am currently updating the status text of the progress bar in my MSI > using a sequence of about 20 ProgressText elements as follows: > > >

Re: [WiX-users] Execution order issue

2013-09-19 Thread Phil Wilson
Well that means that you put it between InstallInitialize and InstallFinalize but before InstallFiles, if that's where it's supposed to be. Did you try that? It's not a safe design without some extra details. When InstallFiles copies your file, you need to be sure it won't replace the one you alr

Re: [WiX-users] WiX Installer using WPF

2013-09-19 Thread John Ludlow
Here's the the link to the publisher's page for that book http://www.packtpub.com/windows-installer-xml-3-6-developers-guide/book On 19 September 2013 11:09, Ravishankar < ravishankar.krishnasw...@idsnext.com> wrote: > Hi Kobus, > Please send me the Link. > > Thanks and Regards > Ravi > On 9/19

Re: [WiX-users] WiX Installer using WPF

2013-09-19 Thread Ravishankar
Hi Kobus, Please send me the Link. Thanks and Regards Ravi On 9/19/2013 3:30 PM, Kobus Botha wrote: > Hi Ravi, > > It is indeed possible to create custom WPF UI by using Wix's Burn engine. > > The code samples are in C#, but Chapter 16 of "WiX 3.6: A Developer's > Guide to Windows Installer XML" b

Re: [WiX-users] WiX Installer using WPF

2013-09-19 Thread John Ludlow
Wix's own bootstrapper is done this way, so you can use that as a sample. There's also a tutorial with code samples here: http://bryanpjohnston.com/2012/09/28/custom-wix-managed-bootstrapper-application/ (uses the MVVM-light framework). On 19 September 2013 10:23, Ravishankar < ravishankar.krish

Re: [WiX-users] WiX Installer using WPF

2013-09-19 Thread Kobus Botha
Hi Ravi, It is indeed possible to create custom WPF UI by using Wix's Burn engine. The code samples are in C#, but Chapter 16 of "WiX 3.6: A Developer's Guide to Windows Installer XML" by Nick Ramirez will tell you everything you need to know. Hope that helps. Kobus On 19 September 2013 11:23,

[WiX-users] WiX Installer using WPF

2013-09-19 Thread Ravishankar
Hi, I need to create a WiX installer, but dont need to use the WiX UI(Installdir/FeatureTree/Mondo) Is it possible to create UI dialog using WPF(vb.net) If anyone has code samples, please share it. Thanks and Regards Ravi

[WiX-users] Possible to pass ProgressText data to managed bootstrapper?

2013-09-19 Thread Kobus Botha
Hi WiX users! I am currently updating the status text of the progress bar in my MSI using a sequence of about 20 ProgressText elements as follows: Doing complicated stuff ... Furthermore, I am busy writing a custom BA that will execute said MSI in a chain.

Re: [WiX-users] Burn: define other exe as uninstaller

2013-09-19 Thread dreni
did u figured this out? I'm having the same problem, as I need on Uninstall to remove both my Software and PostgresQL. -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Burn-define-other-exe-as-uninstaller-tp7561898p7589056.html Sent from the wix-

[WiX-users] (no subject)

2013-09-19 Thread Asdren Kuçi
-- LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99! 1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint 2013, SQL 2012, MVC 4, more. B

Re: [WiX-users] Burn: define other exe as uninstaller

2013-09-19 Thread dreni
Hey, did u figured this out? I'm having the same problem, as I need on Uninstall to remove both my Software and PostgresQL. Thanks in advance, Regards, AK -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Burn-define-other-exe-as-uninstaller-tp756