[WiX-users] How to enable create instrumentation config file while installing service

2008-11-26 Thread Mazin Sayid Ali
Hi When I install a service using InstallUtil it creates the EnterpriseInstrumentation config file for me. But when I try to do the same using ServiceInstall using WIX I'm not able to replicate it. What am I missing.What can I do to overcome this. Thanks in Advance Mazin

[WiX-users] Using Red Gate Packager with Wix V3

2008-11-26 Thread Kjartan Þór Kjartansson
Hi all, I´m creating an installer where we are using Red Gate´s SQL Packager to create a database, I don´t want the Packager to be left behind on the machine after install, but the only way I can find to run it is to have it installed along with the product and run it with a quiet custom

Re: [WiX-users] (no subject)

2008-11-26 Thread Chad Miles
I would guess your CustomAction/@Return is defaulting to 'check'. You could try setting it to asyncNoWait/ignore and see if that remedies the problem. On Wed, Nov 26, 2008 at 8:14 AM, Peter Vestergaard [EMAIL PROTECTED]wrote: My customAction element looks like this: CustomAction Id=HeyMan

[WiX-users] WixFirewallExtension outbound connections and McAfee

2008-11-26 Thread Anthony Wieser
I see that recent builds of Wix now allow us to set a firewall exception. Am I right in concluding that it only affects inbound connections, and only works with the Windows Firewall? Is there any way to configure an outbound connection (NET_FW_RULE_DIR_OUT) with the current extension? Is

Re: [WiX-users] (no subject)

2008-11-26 Thread Peter Vestergaard
But when I set the CustomAction/@Return I get the warning that the CustomAction/@ExeCommand has to be set. But what shoukd that be set to then? Thanks for your help... Best regards Peter 2008/11/26 Chad Miles [EMAIL PROTECTED] I would guess your CustomAction/@Return is defaulting to 'check'.

Re: [WiX-users] Issue with Appsearch Functionality in Wix

2008-11-26 Thread Dominik Guder
Natrayan, Venkatesh IN BLR SISL wrote: Hi All, I am using the Appsearch to check a pre-requisite file for my application. If the file is present in the machine, the installation should continue and if not present the installation should abort and display the error. I include launch

Re: [WiX-users] (no subject)

2008-11-26 Thread Peter Vestergaard
My customAction element looks like this: CustomAction Id=HeyMan BinaryKey=_32 DllEntry=HeyMan Execute= immediate / and my publish element like this: Publish Dialog=MyExitDialog Control=Finish Event=DoAction Value= HeyMan1/Publish When I run the Installer and press the finish button, the custom

Re: [WiX-users] (no subject)

2008-11-26 Thread Chad Miles
Ah I see why. Pardon me on that one. async's can only be used w/ exe's. http://msdn.microsoft.com/en-us/library/aa368071(VS.85).aspx I'd say try ignore then... unless you already did that one too and it griped at you. On Wed, Nov 26, 2008 at 9:15 AM, Peter Vestergaard [EMAIL PROTECTED]wrote:

Re: [WiX-users] Using Red Gate Packager with Wix V3

2008-11-26 Thread Kjartan Þór Kjartansson
Some additional information I forgot to include, for those who have not used Red Gate´s SQL Packager the package is an exe file that tries to invoke itself when its started and that fails when it's launched frome within an MSI since it can't find itself in the working folder. Kjartan

Re: [WiX-users] (no subject)

2008-11-26 Thread Peter Vestergaard
I tried ignore. It builds, but the installer does not close:-( But thanks for your effort... 2008/11/26 Chad Miles [EMAIL PROTECTED] Ah I see why. Pardon me on that one. async's can only be used w/ exe's. http://msdn.microsoft.com/en-us/library/aa368071(VS.85).aspx I'd say try ignore

Re: [WiX-users] (no subject)

2008-11-26 Thread Chad Miles
no problem. i'm actually interested in this, i'm creating a little test install. i'll get back to you later on unless someone pops in first. On Wed, Nov 26, 2008 at 9:47 AM, Peter Vestergaard [EMAIL PROTECTED]wrote: I tried ignore. It builds, but the installer does not close:-( But thanks

[WiX-users] (no subject)

2008-11-26 Thread Peter Vestergaard
Hi is it possible to execute a custom action after the installer has exited or alternativly run the custom and then exit the installer. fx: The user presses the finish button, then a custom action is executed and then the installer exits. Best regards Peter

Re: [WiX-users] (no subject)

2008-11-26 Thread Chad Miles
Sure, CustomAction Id=LaunchSAwithLOCALDB Execute=immediate FileKey= SetupAssistant.exe Return=asyncNoWait ExeCommand='[INSTALLDIR]SetupAssistant.exe /db=[DBNAME] /dbserver=[ComputerName]' / Publish Dialog=ExitDialog Control=Finish Event=DoAction Value= LaunchSAwithLocalDBSQLTYPE=1 AND (NOT

[WiX-users] CloseApplication doesn't run under a specified condition

2008-11-26 Thread Jianjun An
I want to close my application when uninstall. I use CloseApplication like following: CustomAction Id=SetInstallProperty Execute='immediate' Property=Operation Value=Installing / Property Id=OperationUninstalling/Property ProductCloseApplication Id=CloseAppName

Re: [WiX-users] (no subject)

2008-11-26 Thread Chad Miles
1 more suggestion, inside your control for the finish button: Control X=236 Text=!(loc.WixUIFinish) Y=243 Id=Finish Default=yes Width=56 Height=17 Type=PushButton Cancel=yes Publish Event=DoAction Value=CustomAction1![CDATA[NOT Installed OR UPGRADINGPRODUCTCODE]]/Publish Publish

[WiX-users] Wix RightToLeft

2008-11-26 Thread Rafal Perkowski (CPL Solutions)
Hi, Can somebody help me to create RightToLeft installer? I know that we have attribute RightToLeft in Dialogs and Controls, but I tested this attribute and it doesn't work correctly. In the dialog title is right alignment only. I have dialogs in LeftToRight, I want to mirror this dialog. Can I

Re: [WiX-users] CloseApplication doesn't run under a specified condition

2008-11-26 Thread Chad Miles
Why not scrap the property CA, and just stick w/ the util:CloseApplication and condition it on REMOVE=ALL On Wed, Nov 26, 2008 at 10:11 AM, Jianjun An [EMAIL PROTECTED]wrote: I want to close my application when uninstall. I use CloseApplication like following: CustomAction

Re: [WiX-users] setupbld, bootstrappers and command line parameters (msicl)

2008-11-26 Thread carlldev
I've logged this bug on SourceForge as Bootstrapper cannot take command line parameters with spaces - ID: 2229894 Rob has changed the Group property to v4.0. Does this mean we have to wait for Wix 4.0 before we see a change to this? -- View this message in context:

[WiX-users] Uninstall fails when calling NetFxScheduleNativeImage

2008-11-26 Thread John Vottero
I've been trying to figure out a problem with an upgrade failing when calling the NetFxScheduleNativeImage CA. The failure occurs only on one server (at a client site). We've narrowed the problem a little, the failure happens during the uninstall, we can't even uninstall the product. I'm

Re: [WiX-users] Can't build after upgrade

2008-11-26 Thread Simon Dahlbacka
See http://blogs.msdn.com/jasongin/archive/2008/07/09/votive-project-platform-configurations.aspx On Wed, Nov 26, 2008 at 5:53 PM, Anthony Wieser [EMAIL PROTECTED] wrote: I just upgraded from 3.0.3704.0 to 3.0.4721.0 but now I can no longer build my project which is part of my solution in

Re: [WiX-users] Patching SQL Database with script

2008-11-26 Thread cemiles
Is there an answer for this? I still can't get it to work, and I've seen others complain too. I can post my code if someone has time to help out. cemiles wrote: I'm extremely interested in this myself. I know Rob pointed out using sqlscript/string, but I'm getting a failure on my patch

Re: [WiX-users] setupbld, bootstrappers and command line parameters (msicl)

2008-11-26 Thread Rob Mensching
Yes. Well, actually, more likely WiX v3.5 with burn will supersede the functionality completely. All of the ClickThrough related work moved to WiX v4. -Original Message- From: carlldev [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 26, 2008 07:22 To:

Re: [WiX-users] Wix RightToLeft

2008-11-26 Thread Rob Mensching
That attribute is supposed to do it. It has worked for others. I haven't used it myself so all I can suggest is to read the MSI SDK about rtl. -Original Message- From: Rafal Perkowski (CPL Solutions) [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 26, 2008 07:18 To:

Re: [WiX-users] Patching SQL Database with script

2008-11-26 Thread Wilson, Phil
If this code is running in a custom action, it is impersonated or not? Phil Wilson -Original Message- From: cemiles [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 26, 2008 9:10 AM To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] Patching SQL Database with script Is

Re: [WiX-users] How can I get the correct INSTALLDIR at the beginning of uninstall?

2008-11-26 Thread Rob Mensching
A verbose log file should tell you what is going on. -Original Message- From: Jianjun An (Person Consulting) [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 25, 2008 21:35 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] How can I get the correct

Re: [WiX-users] Patching SQL Database with script

2008-11-26 Thread cemiles
It's not in a CA I authored, but in ExecuteSqlStrings I thought. Here's what I'm working with. msi installs fine and does what i want, then the msp succeeds (even if i set the patch script's continueonerror=no). that's the part that's baffling, like it won't even fire off even thought i've

Re: [WiX-users] Patching SQL Database with script

2008-11-26 Thread Rob Mensching
A verbose log file should show you everything that is being done and from there you can figure out why things were skipped. -Original Message- From: cemiles [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 26, 2008 09:31 To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users]

Re: [WiX-users] Uninstall fails when calling NetFxScheduleNativeImage

2008-11-26 Thread Rob Mensching
This is kinda' strange looking: MSI (s) (A0:C8) [09:26:01:858]: Component: JAMSCommands; Installed: Local; Request: Absent; Action: Null MSI (s) (A0:C8) [09:26:01:858]: Component: JAMSCommandsSupport; Installed: Local; Request: Absent; Action: Null MSI (s) (A0:C8) [09:26:01:858]:

Re: [WiX-users] Patching SQL Database with script

2008-11-26 Thread cemiles
Ok, the best (or most promising) place where it might be griping is here... MSI (s) (CC:28) [13:05:24:039]: Doing action: ConfigureSql Action 13:05:24: ConfigureSql. Configuring SQL Server Action start 13:05:24: ConfigureSql. MSI (s) (CC:28) [13:05:24:039]: Transforming table Binary. MSI (s)

Re: [WiX-users] Patching SQL Database with script

2008-11-26 Thread cemiles
I'm gonna go out on a limb here. Since it looks like some sort of error in the binary table, is it required to declare a second binary pointing to the same script to use in the patch component? Is there some clashing since I'm using SqlScript1 in both components? Binary Id=SqlScript1

Re: [WiX-users] Patching SQL Database with script

2008-11-26 Thread Rob Mensching
That just shows the ConfigureSql action had no work to do. Did you look at the install states of your Components to see if things that you think are being installed are actually being installed? -Original Message- From: cemiles [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 26,

Re: [WiX-users] Patching SQL Database with script

2008-11-26 Thread Chad Miles
Just now Rob, and it looks like a flip flop. During Install: MSI (s) (CC:18) [12:58:31:859]: Component: sql_db_remote_sql; Installed: Absent; Request: Local; Action: Local MSI (s) (CC:18) [12:58:31:859]: Component: sql_db_remote_sql_patch; Installed: Absent; Request: Local; Action: Null

Re: [WiX-users] Patching SQL Database with script

2008-11-26 Thread Rob Mensching
Welcome to the wonderful world of the Windows Installer. smile/ I just appreciate that you're trying to narrow down the work yourself. Lets me respond with very short messages that help you in the right direction. I rarely have time to diagnose the whole thing myself. -Original

Re: [WiX-users] Using Red Gate Packager with Wix V3

2008-11-26 Thread Bob Arnson
Kjartan Þór Kjartansson wrote: I´m creating an installer where we are using Red Gate´s SQL Packager to create a database, I don´t want the Packager to be left behind on the machine after install, but the only way I can find to run it is to have it installed along with the product and run it

Re: [WiX-users] multiple license agreements in one installer?

2008-11-26 Thread Bob Arnson
Roger Yen wrote: Now, I'd like to fill the combo box through reading from an INI file or something similar, and I was wondering if it's possible to have the INI file in the msi and still be able to be accessed during install time? Your custom action could extract the file from the Binary

Re: [WiX-users] Working on WIX Patch with Team Build

2008-11-26 Thread Bob Arnson
sajid wrote: But I am left with no clue integrating patches with Team Build. Is there a way to make it easier with Team Build? What is the best practice in creating patches using WIX and Team Build? Is there a common solution out there that I can re-use? You need to create an MSBuild

Re: [WiX-users] WixFirewallExtension outbound connections and McAfee

2008-11-26 Thread Bob Arnson
Anthony Wieser wrote: Is there any way to configure an outbound connection (NET_FW_RULE_DIR_OUT) with the current extension? No, it supports the subset of firewall functionality that's in both XPSP2 and Vista. Is there any way to do this with other firewall providers, or are they all

Re: [WiX-users] How to enable create instrumentation config file while installing service

2008-11-26 Thread Rob Mensching
I don't quite understand the question. The ServiceInstall element installs services, it doesn't touch XML files. -Original Message- From: Mazin Sayid Ali [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 26, 2008 01:42 To: wix-users@lists.sourceforge.net Subject: [WiX-users] How to

Re: [WiX-users] Reinstall a component during Change install

2008-11-26 Thread Dale Quigg
Date: Tue, 25 Nov 2008 22:33:26 -0500 From: Gavin Bee [EMAIL PROTECTED] Subject: Re: [WiX-users] Reinstall a component during Change install Would doing the following work? * Create a feature that contains all of the components that you might want to reinstall * Set REINSTALL=FeatureX

Re: [WiX-users] Uninstall fails when callingNetFxScheduleNativeImage

2008-11-26 Thread John Vottero
This is kinda' strange looking: MSI (s) (A0:C8) [09:26:01:858]: Component: JAMSCommands; Installed: Local; Request: Absent; Action: Null MSI (s) (A0:C8) [09:26:01:858]: Component: JAMSCommandsSupport; Installed: Local; Request: Absent; Action: Null MSI (s) (A0:C8) [09:26:01:858]:

[WiX-users] How to add Splash screen

2008-11-26 Thread Plamen Terziev
Hi all, I am trying to add Splash screen instead of the first progress bar dialog that appears when I start the installer msi file. I searched thoruh the documentation but didn't find out anything. Is there any way to add splash screen before starting the install wizard? Thanks Plamen

Re: [WiX-users] Uninstall fails when callingNetFxScheduleNativeImage

2008-11-26 Thread Rob Mensching
Well, neither of those things make sense to me but it all sounds very suspicious. I'm not really sure what to suggest at this point but to look for badness on the client machine. GAC gone crazy? -Original Message- From: John Vottero [mailto:[EMAIL PROTECTED] Sent: Wednesday, November

Re: [WiX-users] Reinstall a component during Change install (Dale Quigg)

2008-11-26 Thread Dale Quigg
Date: Wed, 26 Nov 2008 12:22:40 -0800 From: Dale Quigg [EMAIL PROTECTED] Subject: Re: [WiX-users] Reinstall a component during Change install I resolved my situation by; snip e.g. Custom Action=BOTH_SetREINSTALL Before=CostInitializeInstalled and NOT REINSTALL AND (NOT REMOVEALL~=ALL)

Re: [WiX-users] Custom Action - start exe inside my INSTALLDIR

2008-11-26 Thread Love88Keys
So, is there a way to start an EXE-File which requires dll´s via BinaryKey AND during uninstall? Rob Mensching-2 wrote: That is not correct. -- View this message in context: http://n2.nabble.com/Custom-Action---start-exe-inside-my-INSTALLDIR-tp1568179p1583283.html Sent from the

Re: [WiX-users] Custom Action - start exe inside my INSTALLDIR

2008-11-26 Thread Rob Mensching
Nothing natively supported by the Windows Installer. In general, the better approach is to write DLL CustomActions that have very few dependencies. Makes for a much more robust install. -Original Message- From: Love88Keys [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 26, 2008

Re: [WiX-users] Custom Action - start exe inside my INSTALLDIR

2008-11-26 Thread Love88Keys
Now I can sleep much better. I will do so. That saves me from searching for something that´s not to find. Thank you all for your help. Bye, Michael Rob Mensching-2 wrote: Nothing natively supported by the Windows Installer. In general, the better approach is to write DLL CustomActions