Re: [WiX-users] Hyperlink in installer UI

2006-09-26 Thread Rob Hamflett
Or tie a custom action to a button. Rob Bob Arnson wrote: Alec Siu wrote: I know from searching the archive that this question has been asked in the past, but has there been any progress or has someone written a publicly available custom action to allow display of a hyperlink in an

Re: [WiX-users] CAQuietExec problem with asyncNoWait

2006-09-26 Thread Rob Hamflett
Done (1565536), and thanks for clarifying the difference. Rob Bob Arnson wrote: Rob Hamflett wrote: then the reboot prompt doesn't appear until snclm is closed. It appears that the asyncNoWait part is being ignored, and the install is stalled whilst waiting for the QAQuietExec action to

Re: [WiX-users] Installing COM components

2006-09-26 Thread Johan Appelgren
Thank you for your response. In what way would automatic generation be more fragile? Isn't all the information available for an automated approach? When it comes to converting one format to another the computer is usually better than me at getting it right. /Johan On 9/22/06, Mike Dimmick

Re: [WiX-users] Installing COM components

2006-09-26 Thread Mike Dimmick
Automatic generation cannot pick up the intent of your settings, only the raw registry values. Often you'll find that self-registration will register many more settings than should really be made - for example, I have a COM DLL written in VB6, and its self-registration (as captured by tallow)

Re: [WiX-users] Component Specific Custom Action

2006-09-26 Thread Dana Gutride
Doug:If you are sequencing based on a feature, your example is nearly correct. You can also do this based on a specific component, but the syntax is slightly different. The ampersand is for feature actions, dollar sign is for conditioning based on component actions.

Re: [WiX-users] Component Specific Custom Action

2006-09-26 Thread Douglas Watts
Thanks to all who replied. I tested both variations (Component and Feature) and I got both working. My problem is that I learn best by example. I read the MSDN links before posting but I just couldnt figure out the WiX syntax (got close this time). Thanks again guys! __ Doug

[WiX-users] Component Specific Custom Action

2006-09-26 Thread Douglas Watts
OK, I was sure that I had seen an example of this one. How do I set a component specific custom action? Lets say I have 3 features that the user can select to install. For one of those features I need to execute a custom action to so something (run an external program). If the user

Re: [WiX-users] Component Specific Custom Action

2006-09-26 Thread Douglas Watts
More clarification I have started with this: Property Id=SomeExternalProgramProp Value=NotePad.exe / CustomAction Id=MyAction ExeCommand=Readme.txt Property=SomeExternalProgramProp Return=ignore Execute=commit / InstallExecuteSequence Custom Action=''

Re: [WiX-users] Conditional Folder Permission

2006-09-26 Thread Dana Gutride
I've encountered a similar problem, it seems the permission element doesn't take into account the condition of the component it's within. This also seems to occur both with the generic MSI way of doing this and the extended WiX secureobj custom actions. DanaOn 9/26/06, gcoates [EMAIL PROTECTED]

[WiX-users] Conditional Folder Permission

2006-09-26 Thread gcoates
Hi All, The info on this forum is very useful. Thanks. I have an issue, our application needs a different set of permissions set on a directory depending on the windows os. Ive coded this below, I want the first permission to be set if we are installing on WinXP or W2003 and the second set to

Re: [WiX-users] Quick question on upgrade checking

2006-09-26 Thread Jeff MacDuff
Ok my MSI log file doesnt have a entry for RemoveExistingProducts So that would seem to suggest that its finding the product but its not getting removed. Here is my current syntax: Upgrade Id=C9BD4428-98AC-4AD0-9646-4E212B1BB770 UpgradeVersion RemoveFeatures=All

[WiX-users] One reason of LGHT0001 : Key cannot be null

2006-09-26 Thread Suraj Barkale
This error is thrown and Light.exe crashes if Media tag is not present in a Package. The error itself is not very descriptive and may occur due to other reasons.Only purpose of this mail is to inform one of them to community. I got following output in Visual Studio build window. Microsoft (R)

Re: [WiX-users] Installing COM components

2006-09-26 Thread Mike Dimmick
Thanks, Bob. I still don't really understand why the Class table is being de-emphasised. I suppose it's possible that if you advertise a Class - say for a feature that is installed on first use - that that feature will be installed if some third-party program references it, which could surprise

Re: [WiX-users] Quick question on upgrade checking

2006-09-26 Thread Bob Arnson
Jeff MacDuff wrote: In my InstallExecuteSequence I have this reference: RemoveExistingProducts After="InstallFinalize"![CDATA[(MyUpgrade "C9BD4428-98AC-4AD0-9646-4E212B1BB770" AND (DefaultFeature = 3))]]/RemoveExistingProducts As the Mythbusters say, "There's your

[WiX-users] unsubscribe

2006-09-26 Thread Adam Feldman
Adam Feldman Software Engineer Korbitec Research Development +27 21 658 9700 (Voice) +27 21 658 9701 (Fax) +27 82 853 0530 (Cell) This email is subject to Korbitec (Pty) Ltds email disclaimer which can be found at http://www.korbitec.com/email_disclaimer.htm or by emailing

Re: [WiX-users] Installing COM components

2006-09-26 Thread Bob Arnson
Mike Dimmick wrote: I still don't really understand why the Class table is being de-emphasised. I suppose it's possible that if you advertise a Class - say for a feature that is installed on first use - that that feature will be installed if some third-party program references it, which could

Re: [WiX-users] persistent properties sample

2006-09-26 Thread Bob Arnson
HvPutten wrote: I made a sample based on the tutorial UI sample from Gabor Deak Jahn but where do i post it so it helps other people ? http://sourceforge.net/tracker/?atid=654188group_id=105970func=browse http://sourceforge.net/tracker/?atid=654188group_id=105970func=browse is the

Re: [WiX-users] Hyperlink in installer UI

2006-09-26 Thread Bob Arnson
Rob Hamflett wrote: Or tie a custom action to a button. Sure, good point. It's really a two-pronged problem: 1. Showing a link-like UI. 2. Launching the user's default browser. You definitely need a CA for #2 but the closest you're going to get with #1 is a button with a blue-underlined

Re: [WiX-users] One reason of LGHT0001 : Key cannot be null

2006-09-26 Thread Bob Arnson
Suraj Barkale wrote: This error is thrown and Light.exe crashes if Media tag is not present in a Package. The error itself is not very descriptive and may occur due to other reasons. Thanks for the report. Can you post it as a bug at http://sourceforge.net/tracker/?group_id=105970atid=642714

[WiX-users] hyper link in wix

2006-09-26 Thread Leila Lali (Excell Data Corporation)
Hi, I need to have a hyper link in a message dialog in my setup project. Does anybody know how I can do that? Thanks Leila Lali - Take Surveys. Earn Cash. Influence the Future of IT Join

Re: [WiX-users] Conditional Folder Permission

2006-09-26 Thread Bob Arnson
Dana Gutride wrote: I've encountered a similar problem, it seems the permission element doesn't take into account the condition of the component it's within. This also seems to occur both with the generic MSI way of doing this and the extended WiX secureobj custom actions. I'm not sure how

Re: [WiX-users] hyper link in wix

2006-09-26 Thread Bob Arnson
Leila Lali (Excell Data Corporation) wrote: I need to have a hyper link in a message dialog in my setup project. Does anybody know how I can do that? Windows Installer doesn't support hyperlinks. The closest you can get is a PushButton control with underlined blue text and a

Re: [WiX-users] Conditional Folder Permission

2006-09-26 Thread Mike Dimmick
I would expect that it's actually the CreateFolders action that reads the LockPermissions table when it's invoked to create the folders - and likewise for the other actions support LockPermissions. I think the problem is that the LockPermissions table is keyed by LockObject and Table while

Re: [WiX-users] Quick question on upgrade checking

2006-09-26 Thread Jeff MacDuff
So would the new syntax be this? RemoveExistingProducts After=InstallFinalize/RemoveExistingProducts From: Bob Arnson [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 26, 2006 9:02 AM To: Jeff MacDuff Cc: Wilson, Phil; wix-users@lists.sourceforge.net Subject: Re:

Re: [WiX-users] Quick question on upgrade checking

2006-09-26 Thread Bob Arnson
Jeff MacDuff wrote: So would the new syntax be this? RemoveExistingProducts After="InstallFinalize/RemoveExistingProducts Or RemoveExistingProducts After="InstallFinalize / Assuming you have only one feature (DefaultFeature), you don't need to check its install

Re: [WiX-users] Quick question on upgrade checking

2006-09-26 Thread Jeff MacDuff
That did it it now uninstalls! Two follow up questions: Is there a mechanism to prompt the user if they want to uninstall or not Can I move the uninstall up in the order of things.. so it happens at the start of the install and not after. From: [EMAIL

Re: [WiX-users] Quick question on upgrade checking

2006-09-26 Thread Jeff MacDuff
Ok thanks for all the info. From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Bob Arnson Sent: Tuesday, September 26, 2006 10:56 AM To: Jeff MacDuff Cc: Wilson, Phil; wix-users@lists.sourceforge.net Subject: Re: [WiX-users] Quick question on upgrade checking

Re: [WiX-users] How would I parse a path?

2006-09-26 Thread Bob Arnson
Douglas Watts wrote: My installer needs to install on a volume other than where Windows is installed (its a security issue for our app). I can use the WindowsVolume property to find the drive Windows is installed on; I can have the user specify the installation directory (and

[WiX-users] Smoke

2006-09-26 Thread jggarcia4
I am in the process of using smoke in an automated process where I run the validation tool on the resulting WiX build. When I manually tested smoke on a file that I knew had errors, I got an exception. The exception was thrown while processing test ICE30/31 - smoke.exe myPackage.msi darice.cub

Re: [WiX-users] How would I parse a path?

2006-09-26 Thread Rob Mensching
Since Derek is gone, I guess it's my role to ask this question again, Why do you have to do this? My installer needs to install on a volume other than where Windows is installed (its a security issue for our app). I can use the WindowsVolume property to find the drive

Re: [WiX-users] How would I parse a path?

2006-09-26 Thread Douglas Watts
I wondered who would be the first to ask J I cant get into details but our requirement is that our application must be installed on a volume other than where the OS is installed. By the way, this is not a consumer product. __ Doug Watts From: Rob Mensching

[WiX-users] WiX + MSBuild

2006-09-26 Thread Sayed Hashimi
Hi,I've read some mentions of a set of MSBuild tasks for WiX but was unable to find these tasks. I was wondering if they are available and if so where can I find them?If they are not available do you know if it would be possible/supported to do this using the WiX libraries? If so I'd like to do

Re: [WiX-users] WiX + MSBuild

2006-09-26 Thread Rob Mensching
You want the WixTasks.* files. If you install the new Wix3.msi, it should configure the WixTasks for you automagically. From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Sayed Hashimi Sent: Tuesday, September 26, 2006 12:01 To: wix-users@lists.sourceforge.net Subject:

Re: [WiX-users] How would I parse a path?

2006-09-26 Thread Douglas Watts
Thanks Bob. I tested your suggestion as a launch condition and that works. But now I realize that I need to force the user to select a different drive on the CustomDlg screen. I suspect I need to modify that dialog and implement a control condition that only enables the Next button when

[WiX-users] How would I parse a path?

2006-09-26 Thread Douglas Watts
My installer needs to install on a volume other than where Windows is installed (its a security issue for our app). I can use the WindowsVolume property to find the drive Windows is installed on; I can have the user specify the installation directory (and drive). But I need to verify that

Re: [WiX-users] Conditional Folder Permission

2006-09-26 Thread Dana Gutride
Bob:I've posted a bug on this issue, it is fairly easy to reproduce. If you take the example that was originally submitted on this thread and change them to extended permission elements, it will demonstrate the problem. When a component is conditioned and it contains createfolder and extended

[WiX-users] Launch the Internet

2006-09-26 Thread Leila Lali (Excell Data Corporation)
Hi, I was trying to launch a browser and Ive used these codes: Property Id=BROWSER RegistrySearch Id='DefaultBrowser' Type='raw' Root='HKCR' Key='http\shell\open\command' //PropertyCustomAction Id='LaunchBrowser' Property='BROWSER' ExeCommand='www.live.com' Return='asyncNoWait'

[WiX-users] Trying to get all warning and errors out of WIX package

2006-09-26 Thread Danny Smith
Title: Trying to get all warning and errors out of WIX package Ive been working on getting rid of ICE errors and warning and Ive come across a few that Im having trouble fixing. ICE33 xxx is used in an unsupported way. ProgId should be registered via the ProgId table. This entry may

Re: [WiX-users] Trying to get all warning and errors out of WIX package

2006-09-26 Thread Tony Hoyle
Danny Smith wrote: *ICE43** –* xxx has non-advertised shortcuts. It should use a registry key under HKCU as its KeyPath, not a file *ICE57** –* xxx has both per-user and per-machine data with a per-machine KeyPath. All of the packages have ALLUSERS = 1 and the shortcuts are not

[WiX-users] change ProductCode of installed product?

2006-09-26 Thread Dmitry Briliuk
Is it possible to change ProductCode (guid) for already installed product, so all the branches in registry will refer to the new guid? Is there a standard api function to do this? (At least it is possible to write a script, which will perform a little search through registry and will change

Re: [WiX-users] How would I parse a path?

2006-09-26 Thread Wilson, Phil
In C++, I think I'd start with the path functions. If you have a path from the browse for the installation folder, PathGetDriveNumber will return a number from 0 to 25 corresponding to A: through Z: I did a quick test - include shlwapi.h and link to shlwapi.lib, and PathGetDriveNumber

Re: [WiX-users] change ProductCode of installed product?

2006-09-26 Thread Bob Arnson
Dmitry Briliuk wrote: Is it possible to change ProductCode (guid) for already installed product, so all the branches in registry will refer to the new guid? Is there a standard api function to do this? (At least it is possible to write a script, which will perform a little search through

Re: [WiX-users] change ProductCode of installed product?

2006-09-26 Thread Rob Mensching
This was discussed on the mailing list in the last few days. The only way to do multiple instance installs is documented in the MSI SDK (and that says you must use transforms). -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dmitry Briliuk Sent:

Re: [WiX-users] properties form previous versions

2006-09-26 Thread Wilson, Phil
A type 51 doesn't require any code in a Dll or anything. It would be a type 51 with Source of ARPINSTALLLOCATION and the Target is (say) [TARGETDIR]. (I hate that it's that way around and not the reverse.) There are some sequencing restrictions (before CostFinalize) and it would be after

Re: [WiX-users] How would I parse a path?

2006-09-26 Thread Bob Arnson
Douglas Watts wrote: Thanks Bob. I tested your suggestion as a launch condition and that works. But now I realize that I need to force the user to select a different drive on the CustomDlg screen. I suspect I need to modify that dialog and implement a control condition

Re: [WiX-users] hyper link in wix

2006-09-26 Thread Bob Arnson
Please keep wix-users on the thread. Leila Lali (Excell Data Corporation) wrote: Ive tried to use a pushbutton and make it to be look like a link (with blue font and using CA). But I got some problems. 1- How can I remove the border of button? MSI doesn't support

[WiX-users] UAC/Vista and custom actions

2006-09-26 Thread Emmanuel Stapf [ES]
Hi, I've recently read the following article: http://www.25hoursaday.com/weblog/PermaLink.aspx?guid=60027b92-3a08-416b-8554-22 51ede4b51a and it works great in my case. But which version of wix allow 3073 to be generated instead of 1025 now? I'm still using v2.0.4415. Thanks, Manu

Re: [WiX-users] UAC/Vista and custom actions

2006-09-26 Thread Bob Arnson
Emmanuel Stapf [ES] wrote: and it works great in my case. But which version of wix allow 3073 to be generated instead of 1025 now? I'm still using v2.0.4415. All of them. That's controlled by CustomAction/@Impersonate=no. -- sig://boB http://bobs.org

Re: [WiX-users] One reason of LGHT0001 : Key cannot be null

2006-09-26 Thread Suraj Barkale
Thanks for reply Bob. I have raised issue #1566147 for this.On 9/26/06, Bob Arnson [EMAIL PROTECTED] wrote: Suraj Barkale wrote: This error is thrown and Light.exe crashes if Media tag is not present in a Package. The error itself is not very descriptive and may occur due to other