[WiX-users] How to add a custom dialog in uninstall process using Wix

2010-01-07 Thread Sanjay Rao
Hi, I want to add a dialog box into my installer's uninstalling process. custom dialog have a check box, which will ask user to delete/keep user setting data of the application. User setting data files usually created in application installation directory after installing the application.

[WiX-users] Question about Shared Components and their Key Paths

2010-01-07 Thread Ondrej Zarevucky
Hi everybody, we have more products sharing the same shared libraries and I'd like to clarify some things, before I proceed. 1) Shared component between two products using same KeyPath and same Guid. - From earlier discussion I understand this is the proper solution and in my tests everything

Re: [WiX-users] How to add a custom dialog in uninstall process using Wix

2010-01-07 Thread Sebastian Brand (Instyler Software)
You may only show dialogs during uninstallation via a custom action, the dialogs from the msi won't be shown. Best regards, Sebastian Brand sebast...@instyler.com Geisenfelder Str. 53a 85053 Ingolstadt, Germany EU VAT ID: DE219712370 Phone: +49 841 4544567 www.instyler.com

Re: [WiX-users] How to add a custom dialog in uninstall process using Wix

2010-01-07 Thread Sanjay Rao
I am not aware, how to show dialogs via custom actions. Please help with some sample code. Thanks Regards, Sanjay Rao Sebastian Brand (Instyler Software) wrote: You may only show dialogs during uninstallation via a custom action, the dialogs from the msi won't be shown. Best regards,

Re: [WiX-users] Wix bug when converting class/progID set from advertised=yes to advertised=no?

2010-01-07 Thread Bob Arnson
On 1/7/2010 1:11 AM, Bryan Reich wrote: New member to the community. How do I file a bug? https://sourceforge.net/tracker/?group_id=105970atid=642714 (also linked from http://wix.sourceforge.net/). -- sig://boB http://joyofsetup.com/

Re: [WiX-users] Building a multi-language msi....

2010-01-07 Thread Tony
Thanks. On Thu, Jan 7, 2010 at 12:36 AM, Rob Mensching r...@robmensching.com wrote: Fundamentally, yes. You can optimize a bit by building a .wixout at step 3 then running light with a different .wxl to generate each MSI from the .wixout. That'll save some linking time. On Wed, Jan 6, 2010

[WiX-users] HELP ...

2010-01-07 Thread Jeannie Efird
I am setting up CI utilizing CCNet and MSBuild. I've come to the realization that MSBuild will not work with a Web Deployment Project (vdproj) to create an MSI. Therefore, I am attempting to utilize WiX as the intermediary as I do not want to install Visual Studio on the build box. We are

[WiX-users] Build WiX Solution After Drop‏

2010-01-07 Thread Kerber, Cameron
So I created a Wix Solution and added it to my Team Build process as the last solution to build. But I am using source files inside WiX that aren't created until after my solutions have built and deployed... So how do I delay the WiX compile. Specifically my problem is on the AfterDrop target

Re: [WiX-users] HELP ...

2010-01-07 Thread Peter Shirtcliffe
candle.exe, light.exe etc are installed by default to C:\Program Files\Windows Installer XML v3\bin Wix isnt distributed with any OS. It was going to be in Visual Studio but this never happened so the only distributions are on the sourceforge project page. -Original Message- From:

Re: [WiX-users] HELP ...

2010-01-07 Thread Rob Mensching
What are the exact failures you are seeing? If it is an install failure, can you send along the verbose log file? On Thu, Jan 7, 2010 at 7:17 AM, Jeannie Efird jeannie.ef...@theaba.orgwrote: I am setting up CI utilizing CCNet and MSBuild. I've come to the realization that MSBuild will not

Re: [WiX-users] HELP ...

2010-01-07 Thread Jeannie Efird
It isn't there, is it compatible with Windows Server 2008? Are there any prerequisites? Could I have gotten a bad drop? -Original Message- From: Peter Shirtcliffe [mailto:pshirtcli...@sdl.com] Sent: Thursday, January 07, 2010 11:16 AM To: General discussion for Windows Installer XML

Re: [WiX-users] Question about Shared Components and their Key Paths

2010-01-07 Thread Rob Mensching
1. Good. This is really the only correct solution. 2. The Windows Installer manages the folder the Component is installed to for each Product. Thus, changing the installation folder works fine. The KeyPath is just the File or RegistryKey or ODBC Driver (does anybody use this anymore?). Note: you

Re: [WiX-users] HELP ...

2010-01-07 Thread Rob Mensching
I still don't understand. Did you install the WiX3.msi (which installs the binaries and MSBuild targets files correctly)? The WiX toolset is not built into the operating system but is compatible with everything from Windows XP and up. On Thu, Jan 7, 2010 at 8:19 AM, Jeannie Efird

Re: [WiX-users] Build WiX Solution After Drop‏

2010-01-07 Thread Rob Mensching
You'll have to edit the wix.targets file to build after the AfterDrop target or run your .wixproj after the other things build. Or, do your SQL Database manipulation earlier in the build process. On Thu, Jan 7, 2010 at 7:57 AM, Kerber, Cameron cameron.ker...@philips.comwrote: So I created a Wix

Re: [WiX-users] HELP ...

2010-01-07 Thread Jeannie Efird
I'm going to do a clean drop. To ensure that this is accurate, can you provide the url that DOES NOT have the Votive UI that requires VS, as that is not going to be loaded on the build box? -Original Message- From: Rob Mensching [mailto:r...@robmensching.com] Sent: Thursday, January

Re: [WiX-users] HELP ...

2010-01-07 Thread Peter Shirtcliffe
It should be self-contained. This is the download link. I would suggest uninstalling the toolset, downloading this and reinstalling, just to be sure. http://sourceforge.net/projects/wix/files/WiX%20v3.0%20%28stable%29/3.0. 5419.0%20RTM/wix3.0.5419.0-x86-setup.zip/download If that doesnt fix it,

Re: [WiX-users] HELP ...

2010-01-07 Thread Pally Sandher
Server 2008 is x64 only (unless you're using an Itanium system which is rather unlikely). Try looking in C:\Program Files (x86)\Windows Installer XML v3\bin\ Does WiX show up in the ARP list? Palbinder Sandher Software Deployment IT Administrator T: +44 (0) 141 945 8500 F: +44 (0) 141 945

Re: [WiX-users] HELP ...

2010-01-07 Thread Jeannie Efird
I did a clean drop, at the url below. The first message is that is a prerequisite dialog box stating that the Votive toolkit couldn't be installed because VS 2005 / 2008 is not located on the machine. (By design). I just reinstalled and they have appeared in the designated folder, go figure.

Re: [WiX-users] HELP ...

2010-01-07 Thread Jeannie Efird
It didn't: I did yet another clean drop. The first message is that is a prerequisite dialog box stating that the Votive toolkit couldn't be installed because VS 2005 / 2008 is not located on the machine. (By design). I just reinstalled and they have appeared in the designated folder, go

Re: [WiX-users] HELP ...

2010-01-07 Thread Jeannie Efird
I did yet another clean drop. The first message is that is a prerequisite dialog box stating that the Votive toolkit couldn't be installed because VS 2005 / 2008 is not located on the machine. (By design). I just reinstalled and they have appeared in the designated folder, go figure.

Re: [WiX-users] HELP ...

2010-01-07 Thread Pally Sandher
Well if it didn't show up in the ARP list didn't show up in the directory I pasted below then you didn't install it since it sounds like you never uninstalled it before reinstalling it just confirms that. Also pasting the same text into 3 replies isn't necessary. We can read it the first time

[WiX-users] Added ErrorLog Dialog at end of Install...

2010-01-07 Thread Dominique Louis
Hi All, What would be the best way to add a custom ErrorLog Dialog that is only displayed if an error occurs during installation and it would appear right at the end of the installation in that case. The idea is that this ErrorDialog would contain the install log and there would be a button to

[WiX-users] Silly question: what is my user name (it doesn't appear to be my email)

2010-01-07 Thread Bryan Reich
Sorry for what amounts to account management spam, but the emails I received when I signed up gave me my password, but nowhere does it say what my user ID is. I assumed it must be my email address, but the login form only lets me type 15 characters. My email stripping off the domain doesn't

Re: [WiX-users] Wix bug when converting class/progID set from advertised=yes to advertised=no?

2010-01-07 Thread Bryan Reich
Bug 2927773 has been opened to track. Thanks. -Original Message- From: Bryan Reich [mailto:bryan.re...@microsoft.com] Sent: Wednesday, January 06, 2010 10:12 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Wix bug when converting class/progID set

Re: [WiX-users] Build WiX Solution After Drop‏

2010-01-07 Thread Castro, Edwin G. (Hillsboro)
You'll have to do some pretty major MSBuild/TeamBuild hacks to perform the database deployment before the wix solution is built. Are you using VSTS DB project files to maintain your database schema? Are you using it's deployment feature to generate the *.sql? If so, are you deploying the

Re: [WiX-users] Build WiX Solution After Drop‏

2010-01-07 Thread John H. Bergman (XPedient Technologies)
Does anyone have any pointers towards using a setup.ini file for setting parameters of an install? -Original Message- From: Castro, Edwin G. (Hillsboro) [mailto:edwin.cas...@fiserv.com] Sent: Thursday, January 07, 2010 1:52 PM To: General discussion for Windows Installer XML toolset.

Re: [WiX-users] Build WiX Solution After Drop‏

2010-01-07 Thread John H. Bergman (XPedient Technologies)
(Apologize for the previous off-topic email) We actually did something similar to this using a 2nd build script. The first build script build everything EXCEPT the installers, and then as the last step of the build script, we executed the second build script to create the installers

[WiX-users] Disable repair and admin setup...

2010-01-07 Thread Tony
Is there some way we can disable (abort install action) if someone were to launch our msi with the /a (administrative install) or /f (repair) options? We can hide the actions in the UI, but when launched via command-line they can still occur, we'd like to disable them for now. -- Tony

[WiX-users] unexplained Custom Action failure

2010-01-07 Thread Phillip_Sidari
I setup a Custom Action to call a simple command line utility I created that installs an SSL certificate. It keeps failing so I took the contents of the log file that have the Custom Action arguments and execute them manually in a command window. Of course, the certificate installs correctly. I

Re: [WiX-users] unexplained Custom Action failure

2010-01-07 Thread Mike Carlson (DEV DIV)
Have you considered using the iis:Certificate (and related) elements instead of your own custom action? These will likely have fewer bugs (lower chance of setup failure) than a custom-coded solution, as well as handle repair, uninstall, patching, etc. correctly. Part of the philosophy

Re: [WiX-users] Disable repair and admin setup...

2010-01-07 Thread Sascha Beaumont
I'm not too familiar with Administrative installs, but I would assume you could condition something in the AdminExecuteSequence and AdminUISequence to abort the install. Aborting if a repair is triggered sounds like a very strange request, what if your KeyPaths are damaged and you have advertised

Re: [WiX-users] Disable repair and admin setup...

2010-01-07 Thread Bryan Reich
We did this in one case by using a Condition as follows: Condition Message=your error messageACTION~lt;gt;ADMIN/Condition I know that works for advertise. I think there can be similar logic for repair. -- Bryan -Original Message- From: Tony [mailto:yellowjacketl...@gmail.com] Sent:

Re: [WiX-users] Passing installation parameter to exe

2010-01-07 Thread Blair
The second questions asks if you can set registry values/write file changes/whatever else that running the preagent.exe would have done for you to avoid using it. Is preagent.exe needed by your installation after it is complete or only when installing, repairing, upgrading, and possibly removing

Re: [WiX-users] Update imported registry entries

2010-01-07 Thread Blair
From what few details you provide I assume your CA is an immediate CA that adds temporary rows to the Registry table. Is that correct? -Original Message- From: Andy2k8 [mailto:appr...@gmail.com] Sent: Wednesday, January 06, 2010 10:44 PM To: wix-users@lists.sourceforge.net Subject:

Re: [WiX-users] Disable repair and admin setup...

2010-01-07 Thread Wilson, Phil
Well not really. An admin install isn't anything to do with the actual running installed product, it just extracts the files out, which is probably what you want to prevent (why?). If you think you've concealed your files by preventing an admin install, good luck with that! Also, beware that an

Re: [WiX-users] Silly question: what is my user name (it doesn't appear to be my email)

2010-01-07 Thread Blair
No clue (I don't know mine either, and I also initially registered via email). One of the early emails from the automated admin gave me this as an admin portal of sorts: https://lists.sourceforge.net/lists/options/wix-users/Bryan.Reich%40microsof t.com - I took the liberty of changing it from my

Re: [WiX-users] Disable repair and admin setup...

2010-01-07 Thread Blair
You could simply drop the AdminExecuteSequence (and AdminUISequence) tables. That would prevent administrative installations. I also echo the question of why. Disabling repair is a bigger why?. If you are referring to the Repair button in the Programs and Features window just add the ARPNOREPAIR

Re: [WiX-users] getting win32 exception while running the newly added custom ICE

2010-01-07 Thread Blair
Use the dumpbin.exe utility with the /IMPORTS switch on your release custom action dll to see what files it depends on. Check to see if any of those files are missing from the default path of your target machine. If they are, research to see what would be required to statically link to their

Re: [WiX-users] Disable repair and admin setup...

2010-01-07 Thread Tony
We never patch, so that won't be an issue. Thanks for the suggestion regarding admin installs. In the past we have never really supported repair either. So, we strive to prevent it from being triggered. We always use the ARPNOREPAIR, but the question of automated repair came up and we noticed

Re: [WiX-users] Disable repair and admin setup...

2010-01-07 Thread Sascha Beaumont
Tony, I'm echoing Phil and Blair here.. Phil wrote: What is the problem that you believe disabling repair will solve? Blair wrote: If you have custom actions or other issues that break when repair is run, you should seek to fix those instead of disabling repair You shouldn't have to support

[WiX-users] Is there a way to install an https-bound web site with an SSL certificate that is already on the box?

2010-01-07 Thread Rich Daniel
I saw one thread on this in the archives with no response. So, I figured the time may be ripe to ask again. I have an installation for a web site that is working really well so far except for this one little snag. I've plumbed everything in for the site I install to use https except for the

[WiX-users] when files have been actually removed from install directory during uninstall process

2010-01-07 Thread Sanjay Rao
Hi, I want to execute a custom action during uninstall process. Where should I put this in installexecutesequence ? Regards, Sanjay Rao -- This SF.Net email is sponsored by the Verizon Developer Community Take

Re: [WiX-users] when files have been actually removed from install directory during uninstall process

2010-01-07 Thread Sebastian Brand (Instyler Software)
Whereever you want, use add Installed as condition. This tells the installer to run the customaction if the application is being uninstalled. Best regards, Sebastian Brand sebast...@instyler.com Geisenfelder Str. 53a 85053 Ingolstadt, Germany EU VAT ID: DE219712370 Phone: +49 841

Re: [WiX-users] Is there a way to install an https-bound web site with an SSL certificate that is already on the box?

2010-01-07 Thread Sebastian Brand (Instyler Software)
Hi Rich, I think the Certificate tags are for installing a new certificate, not using an existing. Rob? J Best regards, Sebastian Brand sebast...@instyler.com Geisenfelder Str. 53a 85053 Ingolstadt, Germany EU VAT ID: DE219712370 Phone: +49 841 4544567 www.instyler.com

Re: [WiX-users] How to add a custom dialog in uninstall process using Wix

2010-01-07 Thread Sebastian Brand (Instyler Software)
Thanks for this detailed explanation. Sanjay, you'll have to create a custom action that shows your dialog and then run this custom action from the MSI. The dialog itself is within the custom action DLL. So when you create the custom action from the C++ template, just add a Windows form dialog

Re: [WiX-users] Is there a way to install an https-bound web site with an SSL certificate that is already on the box?

2010-01-07 Thread Blair
The current custom actions require the certificate be supplied in the MSI. I think that would be a great feature request, or possibly even better, a contribution. -Original Message- From: Rich Daniel [mailto:rdan...@microsoft.com] Sent: Thursday, January 07, 2010 4:01 PM To: General

[WiX-users] Showing actual MSI name on Windows UAC dialog

2010-01-07 Thread Sudripta Nandy
Whenever I execute/run my MSI on Windows VISTA / Win 7, Windows shows a UAC message asking: 'Do you want to allow the following program to install software on the computer? Program name: Some random number.msi Why does the program name specify some random number like 'a62738.msi'? Is there

Re: [WiX-users] Disable repair and admin setup...

2010-01-07 Thread Blair
repair cannot be disabled in Windows Installer due to the way it is put together. The best you can hope for is to reject an attempt to repair with an error message directing the user to remove-the-reinstall. -Original Message- From: Tony [mailto:yellowjacketl...@gmail.com] Sent:

Re: [WiX-users] when files have been actually removed from install directory during uninstall process

2010-01-07 Thread Blair
Installed as a condition will also run it when the application is being patched or repaired. Use REMOVE if the removal of any feature is reason to run your custom action. Have Windows Installer search the value of REMOVE for the name of the related feature (or for the term ALL) to be more robust.