Re: [WiX-users] Shortcut Tag & Powershell Script

2007-06-21 Thread Jason J. W. Williams
Hi Rob, Not necessarily, usually its installed in the path. I just need to be able to update the following shortcut reference to refer to powershell + FILE instead of just FILE: Thank you so much for your help. Best Regards, Jason

Re: [WiX-users] Setting custom error text for error 2893

2007-06-21 Thread Bob Arnson
Igor Maslov wrote: > Is there a way to suppress error message completely? > I doubt it -- it's a fatal error from MSI's perspective. -- sig://boB http://joyofsetup.com/ - This SF.net email is sponsored by DB2 Express D

Re: [WiX-users] light.exe crashes

2007-06-21 Thread Bob Arnson
Dale Quigg wrote: I ran into the same issue and running light.exe with -sval worked around the crash. Take a look at my blog entry on problems running script on Windows Vista. At the weekly

Re: [WiX-users] light.exe crashes

2007-06-21 Thread Dale Quigg
> Date: Sat, 16 Jun 2007 11:10:58 -0700 > From: Bob Arnson <[EMAIL PROTECTED]> > Subject: Re: [WiX-users] light.exe crashes > > Michael Schoneman wrote: > > Unhandled Exception: > > Microsoft.Tools.WindowsInstallerXml.WixException: Exception of type > > 'Microsoft.Tools.WindowsInstallerXml.WixE

Re: [WiX-users] Shortcut Tag & Powershell Script

2007-06-21 Thread Rob Mensching
Shortcut/@Target? You'll need to find the path to powershell.exe on the machine (FileSearch?) -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jason J. W. Williams Sent: Thursday, June 21, 2007 6:24 PM To: wix-users@lists.sourceforge.net Subject: [WiX-use

[WiX-users] Shortcut Tag & Powershell Script

2007-06-21 Thread Jason J. W. Williams
Hello, I'm installing a PowerShell script and would like to install a shortcut for it. The problem is that the Shortcut tag defaults the target of the shortcut to the filename, which in this case is an issue because PowerShell isn't associated by default with .PS1 files. Is it possible to modify t

Re: [WiX-users] Setting custom error text for error 2893

2007-06-21 Thread Igor Maslov
This works. Thank you. Is there a way to suppress error message completely? Igor Bob Arnson-6 wrote: > > Please keep the mailing list on the thread. > > Maslov, Igor wrote: >> I added >> >> Input was truncated because it was too >> long >> >> To wxl file >> > > That won't do anythin

Re: [WiX-users] Setting custom error text for error 2893

2007-06-21 Thread Igor Maslov
Yes, I am setting error in wxl file: An error occurred during the installation of assembly '[6]'. One or more modules of the assembly could not be found. HRESULT: [3]. {{assembly interface: [4], function: [5], component: [2]}} Input was truncated because it was too long When I open msi fi

Re: [WiX-users] Setting custom error text for error 2893

2007-06-21 Thread Bob Arnson
Please keep the mailing list on the thread. Maslov, Igor wrote: > I added > > Input was truncated because it was too > long > > To wxl file > That won't do anything if there isn't an Error element that refers to the string. See how src\ext\UIExtension\wixlib\ErrorProgressText.wxs handles

Re: [WiX-users] install path parsing?

2007-06-21 Thread Bob Arnson
steve baker wrote: I would like to modify this (or find a better way :P) to now have the installation remember the APPLICATIONDIR directory instead of the INSTALLDIR in the directory hierarchy below so that when the next version is installed it will give a default path with the same applicat

Re: [WiX-users] Having trouble with custom actions to run executable?

2007-06-21 Thread Bob Arnson
Stefan Webb wrote: >Id="SampleExe" > FileKey="CsEXE" > ExeCommand="" > Execute="commit" > /> > You probably want to use Execute="deferred" -- commit CAs don't run if the user or administrator has disabled rollback. > Now the program is

Re: [WiX-users] Installer Design

2007-06-21 Thread Bob Arnson
Pierson Lee (Volt) wrote: I also want to be able to deploy this over the network and not necessarily on the local machines. That's not explicitly supported; MSI is a local installation engine. To accomplish my first goal of being able to choose one of two, do I want to be looking at Merge

Re: [WiX-users] Setting custom error text for error 2893

2007-06-21 Thread Bob Arnson
Igor Maslov wrote: > Alternative way was to define some "user friendly" message. I know, that > errors with numbers bigger than 2000 aren't supposed to be in the Error > table, but this looks like the case when it actually should. > There's no such restriction in the doc, just a note that 25000

Re: [WiX-users] VolumeCostList not reflecting the Changes

2007-06-21 Thread Bob Arnson
BhaveshG wrote: > Now opening the Browse dialog with event as "NewDialog" instead of > "SpawnDialog" and in the browse dialog using the event again as "NewDialog" > instead of "EndDialog" when clicking on "OK" / "Cancel" button. > > Not sure if this will lead to any performance issues or anything e

Re: [WiX-users] launch default browser

2007-06-21 Thread Bob Arnson
Charles Wan-Calo wrote: > But then I am forced to use IE. I'd rather launch the default browser. > > Is there a solution? Will upgrading to WiX 3.0 help? WiX v3 ships with a "shellexec" CA and an example in the doc that shows how to use it to open the user's default browser. -- sig://boB ht

[WiX-users] Setting custom error text for error 2893

2007-06-21 Thread Igor Maslov
If I type very long text in the PathEdit control, error for error 2893 is displayed, usuall dialog for error that does not have text defined. I'd like to disable this error, since I have my custom message about invalid path already being displayed, but I didn't find a way to do this. Alternative

Re: [WiX-users] launch default browser

2007-06-21 Thread Charles Wan-Calo
Hi, Brent, This one works! Thank you so much for your help!! Charles On 6/21/07, Brent B. Powers <[EMAIL PROTECTED]> wrote: Charles Wan-Calo wrote: > > But then I am forced to use IE. I'd rather launch the default browser. > > Is there a solution? Will upgrading to WiX 3.0 help? Run cmd

[WiX-users] Installer Design

2007-06-21 Thread Pierson Lee (Volt)
This might be slightly off topic for the thread. I am looking to create an installer that seems complex in my mind I want it to be able to install 1 of two applications dependent upon user input. It either installs a service or a set of websites, depending on what the user chooses on the UI. I

Re: [WiX-users] Can binary files see one another inside the msi?

2007-06-21 Thread Magus
I had a similar problem a while back when I was trying to get dxsetup.exe to run with a custom action. I had made all the required dlls and cabs as binaries and it couldn't find them. I never found a way to make it extract all the binaries or to use multiple binaries in a custom action. I decid

[WiX-users] install path parsing?

2007-06-21 Thread steve baker
I have an application that will be installed multiple times on the same machine in a directory structure like: -Company -App -1.1.0 -1.2.0 -1.3.0 I am using WixUI_InstallDir and would like to be able to set the default installation directory of the next installation

Re: [WiX-users] ConfigureSQL Leaked MSIHANDLE

2007-06-21 Thread Christopher Painter
At the risk of being wrong, I believe I've read ( and witnessed in task manager ) that each CA runs in a new msiexec process. Mike Dimmick <[EMAIL PROTECTED]> wrote:v\:* {behavior:url(#default#VML);} o\:* {behavior:url(#default#VML);} w\:* {behavior:url(#default#VML);} .shape {behavi

Re: [WiX-users] Remove trailing slash from path

2007-06-21 Thread Christopher Painter
Is it possible to move the solution from one domain to another? That is, have the program that reads the registry value defensively check the registry data and strip the \ for you? I know when I do design by contract, I assume that all data inputs are suspect and validate / repair the hec

[WiX-users] Remove trailing slash from path

2007-06-21 Thread DE�K JAHN, G�bor
On Thu, 21 Jun 2007 13:00:30 -0700 (PDT), BhaveshG wrote: Bhavesh, > Nope, that does not work. The issue here is that the user selects a > network path and everything goes for toss when you have trailing \ > or \. because that makes a different meaning altogether. OK, I can send you the CA sourc

Re: [WiX-users] Calling a .bat file from WIX

2007-06-21 Thread Mike Dimmick
You should be adding files to the GAC using the Assembly=".net" attribute on File, and consider using the WebVirtualDir element to add a virtual directory. Note that if you specify Assembly=".net", the file will only be installed to the GAC. If you also need a copy installed elsewhere, you will

Re: [WiX-users] ConfigureSQL Leaked MSIHANDLE

2007-06-21 Thread Mike Dimmick
I can't recall - does Windows Installer use a new msiexec process for every custom action, or does it reuse the same one? I suspect this may be an undocumented area, undocumented so no-one relies on it, but since creating a process is a costly affair I would expect Windows Installer to keep the sam

Re: [WiX-users] launch default browser

2007-06-21 Thread Brent B. Powers
Charles Wan-Calo wrote: > > But then I am forced to use IE. I'd rather launch the default browser. > > Is there a solution? Will upgrading to WiX 3.0 help? Run cmd.exe /c path\readme.html - This SF.net email is sponso

[WiX-users] launch default browser

2007-06-21 Thread Charles Wan-Calo
Hi, All, I am using WiX 2.0 to develop an installer for my project. I'd like to launch the default browser to show a readme.html file. I searched the wix-users list. There seems to be no easy solution. One thing I tried was and do a QtExec This fails with error saying unable to execute. T

Re: [WiX-users] Remove trailing slash from path

2007-06-21 Thread BhaveshG
Nope, that does not work. The issue here is that the user selects a network path and everything goes for toss when you have trailing \ or \. because that makes a different meaning altogether. === Bhavesh DEÁK JAHN, Gábor-2 wrote: > > On Thu, 21 Jun 2007 12:27:05 -0700 (PDT), BhaveshG wrote:

[WiX-users] Remove trailing slash from path

2007-06-21 Thread DE�K JAHN, G�bor
On Thu, 21 Jun 2007 12:27:05 -0700 (PDT), BhaveshG wrote: BhaveshG, > When you use the browse button to select a path you always get the > trailing slash with it automatically. I am using the path for doing > some network copying and finding issues with it. Is there a way I > can remove the trail

[WiX-users] Remove trailing slash from path

2007-06-21 Thread BhaveshG
How do I remove the trailing slash from a path and assign the value to a property? When you use the browse button to select a path you always get the trailing slash with it automatically. I am using the path for doing some network copying and finding issues with it. Is there a way I can remove th

Re: [WiX-users] Having trouble with custom actions to run executable?

2007-06-21 Thread Stefan Webb
Thanks for your reply Bob. I have added the execute tag to the custom action, Now the program is started after the installation, but when I try and uninstall the program it gives the following error: "...A program required for this install to complete could not be run..." My guess is

Re: [WiX-users] Deleteing a registry entry at the end of the install

2007-06-21 Thread Christopher Painter
"best one" ... solutions or customers? I tend to think the best customers are the best paying customers. :-) Every day a setup developer `repackages' a product for corporate clients without the involvement of the original ISV. If your customer isn't paying you enough money to redesign yo

[WiX-users] Can binary files see one another inside the msi?

2007-06-21 Thread gtomalesky
Hello, I have question regarding the setup/usage of an msi file I am creating...basically, I want to create an .msi that contains two executable filesthe first executable is a script that is compiled using AutoIT...its purpose is to automate the GUI installation process of another executab

Re: [WiX-users] ConfigureSQL Leaked MSIHANDLE

2007-06-21 Thread Don Tasanasanta
We have been trying to attach a debugger to this issue but it doesn't reliably duplicate but it does happen often enough to be a nuisance. Here's another question though... we are encountering this error on installs that do not do anything with SQL. Why is InstallSqlData throwing an error when

Re: [WiX-users] Calling a .bat file from WIX

2007-06-21 Thread BhaveshG
Yes you will need to write custom action for calling / executing a binary / external file. But why do you need to create a virtual directory? Is that your requirement? === Bhavesh Alperstein, Kenny wrote: > > I am new to WIX and converting an existing process to WIX. I have a > .bat file w

[WiX-users] Calling a .bat file from WIX

2007-06-21 Thread Alperstein, Kenny
I am new to WIX and converting an existing process to WIX. I have a .bat file which call .cmd files to gac dlls and create a virtual directory? Is there a way to execute a .bat file in WIX or should I be using custom actions to create the virtual directory and call gacutil.exe to gac the dlls? K

Re: [WiX-users] VolumeCostList not reflecting the Changes

2007-06-21 Thread BhaveshG
Aaah at last, made it work with a workaround:). Now opening the Browse dialog with event as "NewDialog" instead of "SpawnDialog" and in the browse dialog using the event again as "NewDialog" instead of "EndDialog" when clicking on "OK" / "Cancel" button. Not sure if this will lead to any perform

Re: [WiX-users] Set Property2 if Property1 is set...

2007-06-21 Thread Rob Hamflett
Create a CA like this: and schedule it like this: Property1 If you need these properties to make it over to the server side (InstallExecuteSequence) from the UI, then they need to be in capitals. Rob [EMAIL PROTECTED] wrote: > Hello All: > > > > This seems to be a simple thing, but I ha

Re: [WiX-users] Deleteing a registry entry at the end of the install

2007-06-21 Thread Rob Mensching
"best one" is probably subjective based on who's perspective you're taking. I tend to side with the customer. Of course, I'm not the one that actually has to do the work either. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of carlH Sent: Thursday,

[WiX-users] Set Property2 if Property1 is set...

2007-06-21 Thread Robert.Priest
Hello All: This seems to be a simple thing, but I have not found an acceptable way to do this. It is pretty much: In a merge module , do: If Property1 Exists Set Property2 = True. Property2 is NOT set from a DirectorySearch, RegistrySearch, etc. But is only set if Property1 i

Re: [WiX-users] UI: Localizable License Agreement

2007-06-21 Thread Bob Arnson
Cristian Baiu wrote: For my UI I started to extend the WIX-Mondo UI. I have created a project for the PrintEula custom action, one Wix Library project for the mondo-UI wxs files and one project for the WIXUIExtension and started to add my own stuff to the UI library. In WiX v3, it's not nece

Re: [WiX-users] Background color of radio buttons

2007-06-21 Thread Bob Arnson
Ward, Mike (MED US) wrote: > I have a radio button group overlaying a white background bitmap. The > radio buttons appear with what looks like the default background control > color (gray). Is there a way to change the background color of these > controls to be white? > No. Unfortunately, MSI d

Re: [WiX-users] Some questions about upgrade

2007-06-21 Thread Bob Arnson
Anton Filippov wrote: > And error occured when I run "msiexec /i inst.msi /log inst.log" (log > file): > Another version of this product is already installed. Installation of > this version cannot continue. To configure or remove the existing > version of this product, use Add/Remove Programs

Re: [WiX-users] Problem writing registry on Vista

2007-06-21 Thread Bob Arnson
Albert Tuulas wrote: > It's pretty confusing, when I ask installer to write entry to HKLM\SOFTWARE, > it goes to HKLM\SOFTWARE\Wow6432Node. Is it possible to have the entry > always written to HKLM\SOFTWARE instead of HKLM\SOFTWARE\Wow6432Node on both > XP and Vista, 64 and 32 versions? > If t

Re: [WiX-users] Remove Guid from Property Id in Merge Module.

2007-06-21 Thread Robert.Priest
Thanks Richard, works. Robert. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Thursday, June 21, 2007 8:14 AM To: Robert Priest; wix-users@lists.sourceforge.net Subject: RE: [WiX-users] Remove Guid from Property Id in Merge Module. I believe the element i

[WiX-users] Background color of radio buttons

2007-06-21 Thread Ward, Mike (MED US)
I have a radio button group overlaying a white background bitmap. The radio buttons appear with what looks like the default background control color (gray). Is there a way to change the background color of these controls to be white? Regards, Mike ---

[WiX-users] UI: Localizable License Agreement

2007-06-21 Thread Cristian Baiu
Hello, I am creating a localizable setup with UI. I have succeeded so far except the localization of the license agreement. For my UI I started to extend the WIX-Mondo UI. I have created a project for the PrintEula custom action, one Wix Library project for the mondo-UI wxs files and one project f

Re: [WiX-users] Remove Guid from Property Id in Merge Module.

2007-06-21 Thread Richard.Foster
I believe the element is what you need to use. For merge modules, appending the GUID is the standard operation since it allows independently created merge modules to use properties etc. with the same name. Hope this helps, Regards, Richard -Original Message- From: [EMAIL PROTECTED] [mai

Re: [WiX-users] WiX-users] ConfigurableDirectory being ignored

2007-06-21 Thread Julie Campbell
Woops, my bad, sorry! Julie Campbell [EMAIL PROTECTED] -Original Message- From: Bob Arnson [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 20, 2007 10:24 PM To: Julie Campbell Cc: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] WiX-users] ConfigurableDirectory being ignored Jul

Re: [WiX-users] Fwd: Set property value, depending on the value of other properties

2007-06-21 Thread Milan Tomeš
What about this: somewhere in InstallUISequence (NOT A) OR (A = '') (NOT B) OR (B = '') HTH Milan José Escrich napsal(a): > > Hi, > I have 2 properties A and B which has some registry values. What I > want is set a value for a property C using something like a conditio

Re: [WiX-users] Fwd: Set property value, depending on the value of other properties

2007-06-21 Thread fiordean dacian
Will something like that work for you? and within InstallExecuteSequence A OR B Dacian - Original Message From: José Escrich <[EMAIL PROTECTED]> To: Bob Arnson <[EMAIL PROTECTED]> Cc: wix-users@lists.sourceforge.net Sent: Thursday, June 21, 2007 7:43:49 AM Subject: Re: [WiX-users

Re: [WiX-users] Migrating files during major upgrade

2007-06-21 Thread fiordean dacian
Hi Kevin, I had the same (copy some configuration from a previously installed XML). What I did was I wrote a custom action reading the XML within a property than write that out within the new file. Dacian - Original Message From: Kevin Dente <[EMAIL PROTECTED]> To: Wix Users Sent:

Re: [WiX-users] Some questions about upgrade

2007-06-21 Thread Anton Filippov
Ok, but I can't upgrade my app. I have following main code: http://schemas.microsoft.com/wix/2006/wi";> NEWERFOUND Now, I change u.exe to other size and change version (lesson 4 by Gábor) for small (minor) update. http://schemas.microsoft.com/wix/

Re: [WiX-users] Problem writing registry on Vista

2007-06-21 Thread Tony Hoyle
Albert Tuulas wrote: > Sweet. Running the regedit from System32 showed my registry entries, however > in not very much expected location: > HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\ That's the 32bit registry. http://support.microsoft.com/kb/896459 > It's pretty confusing, when I ask installer to

Re: [WiX-users] Deleteing a registry entry at the end of the install

2007-06-21 Thread carlH
It's purely a matter of economics, we have a proven NSIS installer that works perfectly but we have one client (an important one, but not one that pays a lot) who requires an MSI installer. Rewriting the installer for them is not viable as it's quite complex and so we are looking for an easy way

Re: [WiX-users] Problem writing registry on Vista

2007-06-21 Thread Albert Tuulas
Sweet. Running the regedit from System32 showed my registry entries, however in not very much expected location: HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\ It's pretty confusing for me, why does first found in path regedit doesn't show the whole registry? And why SysWow64-regedit shows only 32bit? O