Re: [WiX-users] Problem regarding running SQL script from msp file.

2008-12-08 Thread prasoon gupta
We are using Wix 2.0.3607.0 On Sat, Dec 6, 2008 at 12:28 AM, Rob Mensching [EMAIL PROTECTED]wrote: Can you be more specific about the exact version? -Original Message- From: prasoon gupta [mailto:[EMAIL PROTECTED] Sent: Friday, December 05, 2008 09:30 To: General discussion for

[WiX-users] Major Upgrade - Copy Files during setup

2008-12-08 Thread Krause, Henning
Hello, I have the following problem: Version 1 installed a configuration file to [INSTALLLOCATION]\ServiceName\Config directory using a dedicated component. In Version 2, the directory of the config file is now [INSTALLLOCATION]\NewServiceName\Config. I'm doing a major upgrade with the

Re: [WiX-users] Customizing Dialogs - InstallDirDlg doesn't show...why

2008-12-08 Thread Alex Cater
The authoring you provided does not correspond with your requirements. The snippet below clearly indicates that your custom dialog will be shown after the license agreement dialog. If you want the InstallDirDlg to be shown then you must modify the markup accordingly. zwombat wrote:

[WiX-users] How to change Hotkeys

2008-12-08 Thread Andy2k8
Hello Is there a way I can change the hotkeys associated with UI buttons? I see that Browse and Back buttons have the same hotkey B. How do I press Browse button using a hotkey? - Andy MSI Developer Schneider Electric:working: -- View this message in context:

Re: [WiX-users] Help! DifxApp in Wix 3 does not work!

2008-12-08 Thread rodolfo corral dominguez
hi! here is the code i'm using to do the installation in the component tag Component Id ='hpC309aa.inf' Guid='{29C5A0C7-26CF-4d29-8CE6-F8529416F91E}' Location='either' DriverLegacy='yes' DriverAddRemovePrograms='yes' DriverForceInstall='yes' DriverSequence='50' i got a error message

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

2008-12-08 Thread carlldev
I've finally had time to look at the code for this and then realised I couldn't do it because it was written in C (which I don't know). I thought it was done in C# :( Oh well, I'll wait for 3.5. Thanks anyway. Rob Mensching-2 wrote: 1. If you sign the assignment agreement then, yeah, I'd

Re: [WiX-users] Help! DifxApp in Wix 3 does not work!

2008-12-08 Thread Bob Arnson
rodolfo corral dominguez wrote: Component Id ='hpC309aa.inf' Guid='{29C5A0C7-26CF-4d29-8CE6-F8529416F91E}' Location='either' DriverLegacy='yes' DriverAddRemovePrograms='yes' DriverForceInstall='yes' DriverSequence='50' That's WiX v2 schema; use the WixCop tool to update to the WiX

Re: [WiX-users] How to change Hotkeys

2008-12-08 Thread Bob Arnson
Andy2k8 wrote: Is there a way I can change the hotkeys associated with UI buttons? Override the appropriate localization string. I see that Browse and Back buttons have the same hotkey B. How do I press Browse button using a hotkey? Which dialog? Which version of WiX? -- sig://boB

Re: [WiX-users] ServiceInstall for a file not part of MSI

2008-12-08 Thread Bob Arnson
Sarva Bellan wrote: Is there a way to install a service for a file which is not part of the component/msi. No, Windows Installer's ServiceInstall support requires that the service be installed: Note that to install this service using the InstallService[sic] table, the KeyPath for this

Re: [WiX-users] Problem regarding running SQL script from msp file.

2008-12-08 Thread Rob Mensching
Uhh, that build is almost two years out of date from the RTM version of the WiX v2 toolset. There were significant bugs fixed in the SQL processing at the end of the WiX v2 toolset development. You need to upgrade. -Original Message- From: prasoon gupta [mailto:[EMAIL PROTECTED] Sent:

Re: [WiX-users] Problem setting dynamic values for website

2008-12-08 Thread Rob Mensching
WiX doesn't have any functionality like that today. -Original Message- From: Eitan Behar [mailto:[EMAIL PROTECTED] Sent: Friday, December 05, 2008 21:06 To: 'General discussion for Windows Installer XML toolset.' Subject: Re: [WiX-users] Problem setting dynamic values for website Don't

[WiX-users] cursor in invalid state

2008-12-08 Thread Scott Sam
I'm trying to get patching working for one of our products. The problem is that there are currently 2 more files in the latest version than were in the original version. This is causing the patch to fail. I read that the new files sequence have to be at the end of the file table. So I'm trying

Re: [WiX-users] cursor in invalid state

2008-12-08 Thread Rob Mensching
Why not just mark the new Files with PatchGroup and let WiX take care of sequencing them for you? -Original Message- From: Scott Sam [mailto:[EMAIL PROTECTED] Sent: Monday, December 08, 2008 08:37 To: wix-users@lists.sourceforge.net Subject: [WiX-users] cursor in invalid state I'm

Re: [WiX-users] is it possible for Installed to be set during rollback processing, e.g. rollback custom actions should always have at least a Not Installed not a Installed entry in their sequence

2008-12-08 Thread Wilson, Phil
I don't believe this should matter. By definition a rollback custom action is sequenced before the custom action whose changes it will revert, and it will get called if the install rolls back later than it. The Installed state of the product seems irrelevant to me. Phil Wilson

Re: [WiX-users] is it possible for Installed to be set during rollback processing, e.g. rollback custom actions should always have at least a Not Installed not a Installed entry in their sequence

2008-12-08 Thread Richard
In article [EMAIL PROTECTED], Wilson, Phil [EMAIL PROTECTED] writes: I don't believe this should matter. By definition a rollback custom action is sequenced before the custom action whose changes it will revert, and it will g et called if the install rolls back later than it. The

Re: [WiX-users] cursor in invalid state

2008-12-08 Thread Scott Sam
I tried that. I set the PatchGroup to 1 for the two new files. I still get the same error as when I don't use the PatchGroup attribute on the two files. I get the file 'filename' cannot be installed because the file cannot be found in the cabinet file. If I remove the 2 files from the new

Re: [WiX-users] cursor in invalid state

2008-12-08 Thread Scott Sam
Well after taking a closer look, using the patchgroup attribute does fix the sequencing. It doesn't not get rid of the error like I thought it would. Is there anything else that I can do to stop getting the file 'filename' cannot be installed because the file cannot be found in the cabinet file.

Re: [WiX-users] How to change Hotkeys

2008-12-08 Thread Andy2k8
Ok got it working...thanks for that I use WiX v2.0 In the installDir dialog I see that Browse and Back button has the same hot key B Bob Arnson-6 wrote: Andy2k8 wrote: Is there a way I can change the hotkeys associated with UI buttons? Override the appropriate localization string.

Re: [WiX-users] ServiceInstall for a file not part of MSI

2008-12-08 Thread Sarva Bellan
Thank you. I have a follow up question. Can ServiceControl be used to Stop and Uninstall as service which is not installed as part of this MSI. What I currently have is to have a custom action install the Service and custom actions to stop and uninstall the service, like this,

Re: [WiX-users] Help! DifxApp in Wix 3 does not work!

2008-12-08 Thread rodolfo corral dominguez
hi tnks! but now i have some errors, i think beacause of the library, these are the errors: Error 2 Duplicate symbol 'CustomAction:MsiProcessDrivers' found. Error 3 Location of symbol related to previous error. is there any problem with library? Date: Mon, 8 Dec 2008 08:11:37 -0800 From:

Re: [WiX-users] ServiceInstall for a file not part of MSI

2008-12-08 Thread Rob Mensching
Yes, ServiceControl controls services by name. -Original Message- From: Sarva Bellan [mailto:[EMAIL PROTECTED] Sent: Monday, December 08, 2008 10:42 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] ServiceInstall for a file not part of MSI Thank you. I

Re: [WiX-users] cursor in invalid state

2008-12-08 Thread Rob Mensching
Make sure the files are ending up in the right cabinets. -Original Message- From: Scott Sam [mailto:[EMAIL PROTECTED] Sent: Monday, December 08, 2008 10:36 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] cursor in invalid state Well after taking a

Re: [WiX-users] Major Upgrade - Copy Files during setup

2008-12-08 Thread Rob Mensching
Might work. A better design though is to put the user customizable stuff in a separate directory in the user's profile and have the defaults installed with your application. That way you don't have to handle this complicated upgrade mechanics in your install. -Original Message- From:

Re: [WiX-users] Very slow performance running SQL Scripts

2008-12-08 Thread Rob Mensching
Sounds like it might be a performance problem in the SQL CustomActions. Can you look in a verbose log file and see what actions are taking the longest? Breakdown of details will help us target the things that are actually slow. -Original Message- From: Eitan Behar [mailto:[EMAIL

Re: [WiX-users] cursor in invalid state

2008-12-08 Thread Scott Sam
How do I do this with a patch? -Original Message- From: Rob Mensching [mailto:[EMAIL PROTECTED] Sent: Monday, December 08, 2008 2:00 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] cursor in invalid state Make sure the files are ending up in the

Re: [WiX-users] is it possible for Installed to be set during rollback processing, e.g. rollback custom actions should always have at least a Not Installed not a Installed entry in their sequence

2008-12-08 Thread Wilson, Phil
That's interesting - my custom actions are usually so specific in what they do is that I just let them be called anyway and let them figure out what changes need undoing. I suspect I had similar issues as the OP with the Installed condition, and perhaps didn't trust that a component-action

Re: [WiX-users] cursor in invalid state

2008-12-08 Thread Rob Mensching
I was suggesting looking in the base MSI files. -Original Message- From: Scott Sam [mailto:[EMAIL PROTECTED] Sent: Monday, December 08, 2008 11:16 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] cursor in invalid state How do I do this with a patch?

Re: [WiX-users] Problem regarding running SQL script from msp file.

2008-12-08 Thread prasoon gupta
Thanks for your suggestion. On 12/8/08, Rob Mensching [EMAIL PROTECTED] wrote: Uhh, that build is almost two years out of date from the RTM version of the WiX v2 toolset. There were significant bugs fixed in the SQL processing at the end of the WiX v2 toolset development. You need to

Re: [WiX-users] cursor in invalid state

2008-12-08 Thread Scott Sam
There is only one cab file in each base msi file. all of the files are in the cab. Is there something else I should be looking for? -Original Message- From: Rob Mensching [mailto:[EMAIL PROTECTED] Sent: Monday, December 08, 2008 2:33 PM To: General discussion for Windows Installer XML

[WiX-users] Editing a file on installmode = Change

2008-12-08 Thread Omar Sharif
Hi, I have an installer which asks for a license key. The license key is stored in an xml file, but it's not very obvious for users, and it may be difficult to change it manually, so I would like to allow users to change the license key directly through the installation (in Change mode). I

Re: [WiX-users] Major Upgrade - Copy Files during setup

2008-12-08 Thread Krause, Henning
Hi Rob, Might work. A better design though is to put the user customizable stuff in a separate directory in the user's profile and have the defaults installed with your application. That way you don't have to handle this complicated upgrade mechanics in your install. For a desktop

Re: [WiX-users] is it possible for Installed to be set during rollback processing, e.g. rollback custom actions should always have at least a Not Installed not a Installed entry in their sequence

2008-12-08 Thread Richard
In article [EMAIL PROTECTED], Wilson, Phil [EMAIL PROTECTED] writes: That's interesting - my custom actions are usually so specific in what they do is that I just let them be called anyway and let them figure out what changes need undoing. I suspect I had similar issues as the OP with

Re: [WiX-users] Major Upgrade - Copy Files during setup

2008-12-08 Thread Rob Mensching
Same suggestion, different user profile. smile/ Honestly, I'd just do this upgrade logic on first boot of the application/service. Otherwise, read the existing value to overwrite the default Property in the MSI and always write the right value into the config file. The problem is getting it

Re: [WiX-users] cursor in invalid state

2008-12-08 Thread Rob Mensching
Hmm, you've hit the (very shallow) depth of my patching experience. All I know is this works for many other people (using the latest tools). -Original Message- From: Scott Sam [mailto:[EMAIL PROTECTED] Sent: Monday, December 08, 2008 12:49 To: General discussion for Windows Installer

Re: [WiX-users] ServiceInstall for a file not part of MSI

2008-12-08 Thread Sarva Bellan
I was able to achieve the same behavior using the ServiceControl, ServiceControl Id=AdminService Name=admin-srv Stop='uninstall' Remove='uninstall' Wait='yes'/ But similarly as before the installer prompts me to 'Restart the system', which is actually fine. (At this point there some

Re: [WiX-users] Customizing Dialogs - InstallDirDlg doesn't show...why

2008-12-08 Thread zwombat
Sorry, I misstated. I would like the order of the dialogs to be as follows: Welcome Dialog License Dialog My Custom Dialog Install Directory Dialog That appears to be how it is correctly linked in my xml, however the install directory dialog simply is not shown at any point in the process.