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 tag is not> present in a Package. The error itself is not very descriptive and may> occur due to other reasons.Th

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: Here is my code:     Property>  

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 -

[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] hyper link in wix

2006-09-26 Thread Bob Arnson
Please keep wix-users on the thread. Leila Lali (Excell Data Corporation) wrote: I’ve 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 supp

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 t

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 TARGETDIR

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: Tuesday,

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

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 on 

[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 necessa

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] 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 I’ve been working on getting rid of ICE errors and warning and I’ve come across a few that I’m having trouble fixing. ICE33 – xxx is used in an unsupported way. ProgId should be registered via the ProgId table. This entry may ov

[WiX-users] Launch the Internet

2006-09-26 Thread Leila Lali (Excell Data Corporation)
Hi,   I was trying to launch a browser and I’ve used these codes:     Property> 

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 per

[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 (it’s 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 tha

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

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:

[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 thi

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 can’t 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 [mai

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 (it’s a security issue for > our app).  I can use the WindowsVolume property > to find the d

[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 Bob Arnson
Douglas Watts wrote: My installer needs to install on a volume other than where Windows is installed (it’s 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 d

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   J

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

2006-09-26 Thread Bob Arnson
Jeff MacDuff wrote: Is there a mechanism to prompt the user if they want to uninstall or not Yes. You'll need to create a dialog and schedule it early in the UI sequence, conditioned on the property you use in UpgradeVersion. It can be a simple dialog with Upgrade an

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 Bob Arnson
Jeff MacDuff wrote: So would the new syntax be this?         Assuming you have only one feature (DefaultFeature), you don't need to check i

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

2006-09-26 Thread Jeff MacDuff
So would the new syntax be this?         Re: [WiX-users] Conditional Folder Permission
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 CreateF

Re: [WiX-users] hyper link in wix

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

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

[WiX-users] hyper link in wix

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 SourceForge.ne

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

Suraj Barkale wrote: > This error is thrown and Light.exe crashes if 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=105970&atid=642714

Re: [WiX-users] Hyperlink in installer UI

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 t

Re: [WiX-users] persistent properties sample

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=654188&group_id=105970&func=browse is the

Re: [WiX-users] Installing COM components

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 cou

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

You shouldn't need the condition. RemoveExistingProducts will remove the products that get put into MyUpgrade during FindRelatedProducts. I'm not sure what you're trying to do with &DefaultFeature = 3. Depending on what that's achieving you might still want it. Do you only want to remove t

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

Jeff MacDuff wrote: In my InstallExecuteSequence I have this reference:       RemoveExistingProducts> As the Mythbusters say, "There's your problem right there." The property MyUpgrade is set to the product code of the old

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

Ok my MSI log file doesn’t have a entry for RemoveExistingProducts   So that would seem to suggest that it’s finding the product but it’s not getting removed.   Here is my current syntax:         [WiX-users] Conditional Folder Permission
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 be

Re: [WiX-users] Conditional Folder Permission

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] unsubscribe

    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) Ltd’s email disclaimer which can be found at http://www.korbitec.com/email_disclaimer.htm or by emailing

Re: [WiX-users] Component Specific Custom Action

Looking at http://msdn.microsoft.com/library/default.asp?url=""> suggests that you want &FeatureOne - $ is for components, not features.   Alternatively, use $ and the component name if you want it to run if a specific component is being installed (perhaps if the component is shared between

Re: [WiX-users] Component Specific Custom Action

More clarification… I have started with this:   …       ExeCommand="Readme.txt"       Property="SomeExternalProgramProp"       Return="ignore" Execute="commit" /> …     NOT Installed   I think I just need to understand what con

[WiX-users] Component Specific Custom Action

OK, I was sure that I had seen an example of this one.  How do I set a component specific custom action? Let’s 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 cho

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

This error is thrown and Light.exe crashes if 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) Windows In

Re: [WiX-users] Component Specific Custom Action

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 couldn’t figure out the WiX syntax (got close this time).  Thanks again guys!   __

Re: [WiX-users] Component Specific Custom Action

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. http://msdn.microsoft.com/libr

Re: [WiX-users] Component Specific Custom Action

I may be answering my own question.  Going with my example below, should be element look something like this?       $FeatureOne=3   Where FeatureOne is my feature that requires the custom action and FeatureTwo and FeatureThree do not require the action.   Could someone co

Re: [WiX-users] Installing COM components

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) regis

Re: [WiX-users] Installing COM components

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 th

Re: [WiX-users] Installing COM components

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 <[EMAI

Re: [WiX-users] CAQuietExec problem with asyncNoWait

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 a

Re: [WiX-users] Hyperlink in installer UI

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 i