[WiX-users] Help with WIX Installers

2010-08-11 Thread jamie benson
Hi all, I'm looking to write a standard install template for one of our products, but I've come into a bit of difficult when working with CA's Essentially we want a installer to copy files to be used by another tool, run a tool then delete the temporary files on disk. If possible this will be in

Re: [WiX-users] Uninstall not removing files

2010-08-11 Thread Peter Shirtcliffe
The component guid is blank. You must specify a guid. See the documentation for more information. -Original Message- From: Sudhakar Pasupuleti [mailto:sud...@microsoft.com] Sent: 10 August 2010 22:49 To: wix-users@lists.sourceforge.net Subject: [WiX-users] Uninstall not removing files

Re: [WiX-users] Using the same custom Dialog with Add/Remove Program

2010-08-11 Thread marric01
Hi thanks for the reply. The reason why I wanted to open up my custom dialog when doing an uninstall from ARP is that I need to get a username/password and server name to be able to delete a database, a SQL JOB, an SSIS Task and a SSAS Cube and those can be located on seperate sql server.

[WiX-users] Custom action failed during uninstall so ARP cluttered

2010-08-11 Thread ricky21
Hi, I am trying to invoke a custom action during uninstall. At times the custom action is failing. So because of that i am not able to uninstall the prouct either through ARP or through MSI. I even used ORCA to manually edit the MSI and removed the troublesome Custom action , but still the

Re: [WiX-users] Custom action failed during uninstall so ARP cluttered

2010-08-11 Thread Pally Sandher
1 - http://blogs.msdn.com/b/astebner/archive/2005/12/24/507294.aspx 2 - http://www.joyofsetup.com/2007/09/24/test-your-setups-virtually/ 3 - Debug the failure fix it so it doesn't fail? Palbinder Sandher Software Deployment IT Administrator T: +44 (0) 141 945 8500 F: +44 (0) 141 945 8501

Re: [WiX-users] Help with WIX Installers

2010-08-11 Thread Pally Sandher
Don't use Windows Installer, use something else like a self-extracting archive or some non-Windows Installer installation development package. What you're trying to achieve is pretty much contrary to the basic concepts function of Windows Installer. Palbinder Sandher Software Deployment IT

Re: [WiX-users] Custom Action and Billboard Action

2010-08-11 Thread Pally Sandher
http://lmgtfy.com/?q=WiX+installing+an+assembly+to+the+GAC Palbinder Sandher Software Deployment IT Administrator T: +44 (0) 141 945 8500 F: +44 (0) 141 945 8501 http://www.iesve.com **Design, Simulate + Innovate with the Virtual Environment** Integrated Environmental Solutions Limited.

Re: [WiX-users] Custom action failed during uninstall so ARP cluttered

2010-08-11 Thread ricky sundrani
Thanks Richard and Palbinder On Wed, Aug 11, 2010 at 7:27 PM, Pally Sandher pally.sand...@iesve.comwrote: 1 - http://blogs.msdn.com/b/astebner/archive/2005/12/24/507294.aspx 2 - http://www.joyofsetup.com/2007/09/24/test-your-setups-virtually/ 3 - Debug the failure fix it so it doesn't fail?

[WiX-users] Uninstall Custom action

2010-08-11 Thread ricky21
Hi , I have written a C# custom action which is to be invoked during uninstall , but i want to invoke it before the files in INSTALLDIR are deleted. So i set the custom action to execute before removefiles action. See the snippet below : InstallExecuteSequence Custom Action=Set_INSTALLDIR

Re: [WiX-users] Help with WIX Installers

2010-08-11 Thread jamie benson
Which part of the requirements exactly would this be against the basic concepts of Windows Installer? Sounds like a pretty fundamental flaw in Windows Installer. I'd expect this sort of functionality to be a 'given' in any Installer Framework. Regards, Jamie On 11 August 2010 15:02, Pally

[WiX-users] Environment variables into a WIX property

2010-08-11 Thread Lobo, Lionel
Hi, Is there a way to get an environment variable into a WIX property? I'm trying to get the USERPROFILE with: Property Id=UserFolder Value=$(env.USERPROFILE)\MyApp\MyFolder/ But this only picks up the USERPROFILE of the build machine, where the installer is built. I want it

Re: [WiX-users] Help with WIX Installers

2010-08-11 Thread Pally Sandher
http://msdn.microsoft.com/en-us/library/aa367449.aspx Knock yourself out. Sounds like a pretty fundamental flaw in your requirements actually. Palbinder Sandher Software Deployment IT Administrator T: +44 (0) 141 945 8500 F: +44 (0) 141 945 8501 http://www.iesve.com **Design, Simulate +

Re: [WiX-users] CustomAction doesn't execute

2010-08-11 Thread Christian Tusch
Yes, I'm using WixUI_InstallDir. On 7 August 2010 16:55, Bob Arnson b...@joyofsetup.com wrote: On 8/5/2010 5:50 AM, Christian Tusch wrote: could anybody tell me why this won't show me a message box? Do you have a full UI in your package? Silent installations don't show UI. -- sig://boB

Re: [WiX-users] Environment variables into a WIX property

2010-08-11 Thread Blair
SetProperty Id=UserFolder Value=[%USERPROFILE]\MyApp\MyFolder Sequence=ui Before=AppSearch/ Change the Sequence and Before values as appropriate for your needs. To use one property's value in another you need to use an action (since entries in the property table aren't parsed). This will create

Re: [WiX-users] Custom action failed during uninstall so ARP cluttered

2010-08-11 Thread Blair
Set Check=ignore ? -Original Message- From: ricky21 [mailto:rickysundr...@gmail.com] Sent: Wednesday, August 11, 2010 6:15 AM To: wix-users@lists.sourceforge.net Subject: [WiX-users] Custom action failed during uninstall so ARP cluttered Hi, I am trying to invoke a custom action during

Re: [WiX-users] Environment variables into a WIX property

2010-08-11 Thread Pally Sandher
[%Environment_Variable] is only valid in fields of the Formatted type as the link I pasted shows. Make sure you're using it in a field which is of Formatted type. It sounds like you're not in which case you can't use that code as any Property wouldn't expand to the actual text contained within

Re: [WiX-users] InternetShortcut and public properties

2010-08-11 Thread Chad Petersen
It creates the Internet Shortcut on the desktop and it has the IE icon, but the target is apparently since when I double-click on it I get the message. Problem with Shortcut The target of this Internet Shortcut is not valid. Go to the Internet Shortcut property sheet and make sure the target

Re: [WiX-users] Environment variables into a WIX property

2010-08-11 Thread Lobo, Lionel
Many thanks, this worked perfectly! Regards, Lionel -Original Message- From: Blair [mailto:os...@live.com] Sent: 11 August 2010 17:14 To: 'General discussion for Windows Installer XML toolset.' Subject: Re: [WiX-users] Environment variables into a WIX property SetProperty

Re: [WiX-users] Environment variables into a WIX property

2010-08-11 Thread Lobo, Lionel
You're right, [%USERPROFILE] was being used in the standard Property which accepts non-formatted values. I have that working with SetProperty which fits the bill perfectly. Thanks for the guidance, I appreciate the help. Lionel -Original Message- From: Pally Sandher

Re: [WiX-users] Uninstall not removing files

2010-08-11 Thread Sudhakar Pasupuleti
I will give it a shot. Thanks, Sudhakar -Original Message- From: Michael Schlitt [mailto:mschl...@microsoft.com] Sent: Wednesday, August 11, 2010 10:21 AM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Uninstall not removing files The Component ID

Re: [WiX-users] Uninstall Custom action

2010-08-11 Thread ricky sundrani
Thanks for the reply. I had checked the log and the RemoveFiles was returning 0. So initially i thought that was the problem. But then i tried out the installer on another fresh machine, it worked fine including Repair,Uninstall There may have been some issues with my machine since my ARP is all

[WiX-users] Custom Browse Dialog

2010-08-11 Thread gapearce
Hi, I need to prompt the user for the location of a file before installing my software. I'm disappointed that I couldn't find an example of this ANYWHERE. There are lots of discussions about using custom browse dialog, but no examples. If I figure this out, I will publish an example. I give

[WiX-users] How to add FeatureTree

2010-08-11 Thread little.forest
We'll need to add a new component. And we'd like the end user to choose to install it or not. I found the FeatureTree maybe a fit for us. So I add these code: UIRef Id=WixUI_FeatureTree/ Property Id=INSTALL_FEATURE1 Value=1 / DirectoryRef Id='INSTALLLOCATION' Component Id='COMP_FTR1'

[WiX-users] External UI Handling FilesInUse

2010-08-11 Thread Andy Glass
This isn't technically a WiX question, but I figured there was no harm in asking: I've written a bootstrapper for our various products, one that uses MsiSetExternalUI to hook into the MSIs to retrieve error messages, progress, and the like (I've based off the example handler found here:

Re: [WiX-users] How to add FeatureTree

2010-08-11 Thread Chris Lord
Did you already have a UIRef in your wxs before you added the FeatureTree UIRef? On 08/11/2010 03:00 PM, little.forest wrote: We'll need to add a new component. And we'd like the end user to choose to install it or not. I found the FeatureTree maybe a fit for us. So I add these code: UIRef

Re: [WiX-users] How to add FeatureTree

2010-08-11 Thread little.forest
Hi Chris, Thanks. Yes, I have UIRef before I added the new FeatureTree: UIRef Id=MyWixUI_InstallDir/ UIRef Id=WixUI_ErrorProgressText/ From: Chris Lord chris.l...@atterotech.com To: General discussion for Windows Installer XML toolset.

[WiX-users] Silly but simple question about upgrades

2010-08-11 Thread Sohail Somani
First, I love WiX. I don't think I can say that enough. Windows Installer is a huge pain and this product makes it bearable and almost fun. Ok, enough sucking up. I am reading the section about upgrades here: http://wix.sourceforge.net/manual-wix3/major_upgrade.htm It appears that the

Re: [WiX-users] How to add FeatureTree

2010-08-11 Thread Chris Lord
I suspect your original UI refs contain a welcome dialog. The FeatureTree UI is a complete UI. Its not just a FeatureTree dialog so the combination of your UIrefs and FeatureTree means you have duplicate dialogs, hence the error. If the standard feature tree UI sequence work for you as is,

Re: [WiX-users] How to add FeatureTree

2010-08-11 Thread little.forest
Thanks Chris. I removed MyWixUI_InstallDir which is the copy of WixUI_InstallDir with some changes. I got it compile and run. But some problems: 1. The change install dir page is gone. But we need it back. 2. We added a dialog called MyAddedConfirmDlg between InstallDirDlg and VerifyReadyDlg.

Re: [WiX-users] Custom Browse Dialog

2010-08-11 Thread Nick Ramirez
If I'm reading this correctly, you're code is this: MTPreInstallDlg Control Id=LicenseFile Type=PushButton X=20 Y=120 Width=56 Height=17 Text=Browse Publish Property=_BrowseProperty Value=[LICENSE_FILE] Order=11/Publish Publish Event=SpawnDialog

Re: [WiX-users] External UI Handling FilesInUse

2010-08-11 Thread Wilson, Phil
I have only a couple of observations: 1. Using MsiSetExternalUIRecord works better because you get a number of records that you can inspect rather than trying to decode message formats. Each record contains process, file name I think etc. If you actually want a message then MsiFormatRecord()

Re: [WiX-users] How to add FeatureTree

2010-08-11 Thread Chris Lord
Sadly, you are getting to the extent of my knowledge and experience here so I am not sure I can offer much more advice. What you need is to take your customized version of WixUI_InstallDir and add to it the useful dialogs from WixUI_FeatureTree. Unfortunately, how best to achieve that I do

Re: [WiX-users] How to add FeatureTree

2010-08-11 Thread little.forest
Thanks Chris. You already helped me moving to the right direction, I guess. If anyone know the solution, please let me know. From: Chris Lord chris.l...@atterotech.com To: General discussion for Windows Installer XML toolset. wix-users@lists.sourceforge.net

Re: [WiX-users] External UI Handling FilesInUse

2010-08-11 Thread Andy Glass
Thanks, MsiSetExternalUIRecord is exactly what I needed. -Andy -Original Message- From: Wilson, Phil [mailto:phil.wil...@invensys.com] Sent: Wednesday, August 11, 2010 1:45 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] External UI Handling

Re: [WiX-users] Custom Browse Dialog

2010-08-11 Thread gapearce
Hey Thanks Nick! That was pretty close... This license file won't be 'installed', it will be emailed to the user, so it is possible for the user to put it anywhere before running setup. So I followed your suggestion to set the variable correctly, but I set it to C:\, and it is acting correctly

Re: [WiX-users] Silly but simple question about upgrades

2010-08-11 Thread Blair
If you don't want to always be calculating version numbers, you can also do this: UpgradeVersion Minimum=1.0.0 IncludeMinimum=yes Maximum=same-version-as-in-Product-element IncludeMaximum=no