Re: [WiX-users] RegistrySearch converts value data

2010-05-16 Thread Kristoffer Danielsson
What happens if you specify %PROGRAMFILES%? It always maps to C:\Program Files. > Date: Sun, 16 May 2010 19:07:32 +0200 > From: eriksson.jim...@gmail.com > To: wix-users@lists.sourceforge.net > Subject: Re: [WiX-users] RegistrySearch converts value data > > Can you explain the StringTools solut

[WiX-users] Orca reports strange filenames

2010-05-15 Thread Kristoffer Danielsson
I noticed that my MSI got some 3 MB bigger. I did not add any files, so I find this worrying. I checked it with Orca and found that multiple files have strange filenames: si-ychbx.png|image1.png vmpdkuil.exe|Application.exe etc Not all files, only a third or so. Is this normal? Com

[WiX-users] Regarding "Rule 16: Follow Component Rules"

2010-05-15 Thread Kristoffer Danielsson
Reading Rule 16: http://blogs.msdn.com/windows_installer_team/archive/2006/05/12/595950.aspx "Do not specify more than one file per component as a target for the Start menu or a Desktop shortcut." Exactly what does that mean? Is it possible that a shortcut to a component with multiple file

Re: [WiX-users] PrintEula.ValidatePath fails under VMWare!

2010-05-15 Thread Kristoffer Danielsson
; > '0'. <-- never seen! > > > > > > > > > > > > > > > > Is it possible that the custom action is not being called for some > > reason? > > > > > > > > > Date: Fri, 14 May 2010 10:22:22 +0100 > > &g

Re: [WiX-users] PrintEula.ValidatePath fails under VMWare!

2010-05-14 Thread Kristoffer Danielsson
mp; is the Spooler service running? > > > > > > It works fine for us using WiX v3.0 build packages on XP 32-bit, XP > > > 64-bit, Vista 64-bit & Windows 7 64-bit. I have a VMWare ESXi server > > > setup with version 7 virtual machines for my own & QA's testing purp

Re: [WiX-users] PrintEula.ValidatePath fails under VMWare!

2010-05-14 Thread Kristoffer Danielsson
& QA's testing purposes. > > > > > > Palbinder Sandher > > > Software Deployment & IT Administrator > > > T: +44 (0) 141 945 8500 > > > F: +44 (0) 141 945 8501 > > > > > > http://www.iesve.com > > > **Design, Simu

Re: [WiX-users] PrintEula.ValidatePath fails under VMWare!

2010-05-14 Thread Kristoffer Danielsson
tp://www.iesve.com > > **Design, Simulate + Innovate with the ** > > Integrated Environmental Solutions Limited. Registered in Scotland No. > > SC151456 > > Registered Office - Helix Building, West Of Scotland Science Park, Glasgow > > G20 0SP > > Email Discla

Re: [WiX-users] PrintEula.ValidatePath fails under VMWare!

2010-05-14 Thread Kristoffer Danielsson
w.iesve.com > **Design, Simulate + Innovate with the ** > Integrated Environmental Solutions Limited. Registered in Scotland No. > SC151456 > Registered Office - Helix Building, West Of Scotland Science Park, Glasgow > G20 0SP > Email Disclaimer > > -Original

Re: [WiX-users] PrintEula.ValidatePath fails under VMWare!

2010-05-13 Thread Kristoffer Danielsson
@lists.sourceforge.net > > > Subject: Re: [WiX-users] PrintEula.ValidatePath fails under VMWare! > > > > > > If you Google that error it seems select people hit it even on real > > > physical boxes, under other flavors of Windows (98, XP), too. W

Re: [WiX-users] PrintEula.ValidatePath fails under VMWare!

2010-05-13 Thread Kristoffer Danielsson
sourceforge.net > > Subject: Re: [WiX-users] PrintEula.ValidatePath fails under VMWare! > > > > If you Google that error it seems select people hit it even on real > > physical boxes, under other flavors of Windows (98, XP), too. Windows > > misreporting the drive type

Re: [WiX-users] PrintEula.ValidatePath fails under VMWare!

2010-05-13 Thread Kristoffer Danielsson
her flavors of Windows (98, XP), too. Windows misreporting the > drive type if I had to guess. Probably nothing wrong with your authoring. I'm > not seeing any definitive solutions out there. > > > -Original Message- > From: Kristoffer Danielsson [mailto:kristoffer.da

[WiX-users] PrintEula.ValidatePath fails under VMWare!

2010-05-13 Thread Kristoffer Danielsson
Hi, Using Wix 3.5. Tried my new MSI under Vista Home Premium, emulated under VMWare 7. It gives me this obscure error when I hit "Next" in the "Destination Folder"-dialog (simple WIX UI): "Installation directory must be on local hard drive." Reading the logs: Doing action: WixU

Re: [WiX-users] Files not removed upon uninstallation

2010-05-13 Thread Kristoffer Danielsson
d revert back after your install/uninstall tests! > > Phil Wilson > > -Original Message- > From: Kristoffer Danielsson [mailto:kristoffer.daniels...@live.se] > Sent: Wednesday, May 12, 2010 3:16 PM > To: wix-users@lists.sourceforge.net > Subject: Re: [WiX-users] Files n

Re: [WiX-users] Files not removed upon uninstallation

2010-05-13 Thread Kristoffer Danielsson
tests! > > Phil Wilson > > -Original Message- > From: Kristoffer Danielsson [mailto:kristoffer.daniels...@live.se] > Sent: Wednesday, May 12, 2010 3:16 PM > To: wix-users@lists.sourceforge.net > Subject: Re: [WiX-users] Files not removed upon uninstallation >

Re: [WiX-users] Files not removed upon uninstallation

2010-05-12 Thread Kristoffer Danielsson
under "Add/Remove Programs". Uninstalling that one fixed it > for me. The setup log showed something like "not removing because existing > program depends on it" or something similar (can't remember exactly). > > Regards, > > Michel V

[WiX-users] Files not removed upon uninstallation

2010-05-12 Thread Kristoffer Danielsson
Hi, This is really frustrating. I had a working MSI, but realized I was violating some MSI rules (used the same KeyPath for multiple components) and decided to clean it up. Now, when following the guidelines, my components are not removed from the system. Installation is per-user only,

[WiX-users] createAndRemoveOnUninstall for registry VALUE?

2010-05-11 Thread Kristoffer Danielsson
Using Wix 3.5. It seems "createAndRemoveOnUninstall" works on the key. How would you use that logic only on the value under the specified key? That is, the key should not be removed - only the its sub value "InstalledComponent1". Thanks

Re: [WiX-users] Conditional removal of HKCU-key?

2010-05-11 Thread Kristoffer Danielsson
land No. > SC151456 > Registered Office - Helix Building, West Of Scotland Science Park, Glasgow > G20 0SP > Email Disclaimer > > > -Original Message- > From: Kristoffer Danielsson [mailto:kristoffer.daniels...@live.se] > Sent: 08 May 2010 23:33 > To: wix-users@lis

Re: [WiX-users] Conditional removal of HKCU-key?

2010-05-08 Thread Kristoffer Danielsson
Actually, this does not work :( Registry is left intact, but installation folder is never removed. I understand this has to do with the KeyPath-thingy. How do I make sure that the folder is removed even if some HKCU-key is left untouched? > From: kristoffer.daniels..

Re: [WiX-users] Conditional removal of HKCU-key?

2010-05-08 Thread Kristoffer Danielsson
Hmmm, seems this did the trick: It actually removed the registry value "InstallPath", which is exactly what I wanted. > From: kristoffer.daniels...@live.se > To: wix-users@lists.sourceforge.net > Date: Sat, 8 May 2010 22:17:07 +0200 > Subject: [WiX-users] Conditional removal of HKCU-key

[WiX-users] Conditional removal of HKCU-key?

2010-05-08 Thread Kristoffer Danielsson
Using Wix 3.5. I create the following key under HKCU: Upon uninstallation, I do NOT want to remove the key IF a certain value exists: HKCU\Software\[Manufacturer]\[ProductName]\MyStringValue How can this be accomplishe

Re: [WiX-users] Writing INSTALLLOCATION to registry fails!

2010-05-02 Thread Kristoffer Danielsson
I had forgot to add the brackets in one of my wxs-files. Now it works! > From: kristoffer.daniels...@live.se > To: wix-users@lists.sourceforge.net > Date: Sun, 2 May 2010 15:50:29 +0200 > Subject: [WiX-users] Writing INSTALLLOCATION to registry fails! > > > > I'm trying to write the installat

[WiX-users] Writing INSTALLLOCATION to registry fails!

2010-05-02 Thread Kristoffer Danielsson
I'm trying to write the installation path to the registry, but it keeps writing "INSTALLLOCATION" instead of its value. What am I doing wrong? Please help! ... _ Klicka h

Re: [WiX-users] Detect an internet connection

2010-03-22 Thread Kristoffer Danielsson
Not sure, but I guess you have to write a custom action DLL that does some tricks. Also note that checking for an internet connection is not as easy as it sounds. The APIs provided by Windows are not 100% reliable, so most of the time pinging a remote server (google.com for instance) proves to

Re: [WiX-users] Detect older version not working?

2010-03-17 Thread Kristoffer Danielsson
r machine won't > upgrade a per-user either. > > Phil Wilson > > > > -Original Message- > From: Kristoffer Danielsson [mailto:kristoffer.daniels...@live.se] > Sent: Wednesday, March 17, 2010 1:20 PM > To: wix-users@lists.sourceforge.net > Subject: [WiX-us

Re: [WiX-users] Strange MSI output directory using WiX 3.5.1512.0 on Win2003 R2 SP2 Cruise Control server

2010-03-17 Thread Kristoffer Danielsson
//blog.bradcunningham.net > > On Wed, Mar 17, 2010 at 11:01 AM, Kristoffer Danielsson < > kristoffer.daniels...@live.se> wrote: > > > > > Do you think this could have something to do with this bug? > > > > > > http://sourceforge.net/tracker/?func=detai

[WiX-users] Detect older version not working?

2010-03-17 Thread Kristoffer Danielsson
Note that my previous MSI was a per-machine installation made with VS 2008. The product version was 1.0.0. Now I'm creating a per-user installation with WIX 3.5. I want to detect this older version. Correct me if I'm wrong, but the older version cannot be removed since it was an elevated in

Re: [WiX-users] Strange MSI output directory using WiX 3.5.1512.0 on Win2003 R2 SP2 Cruise Control server

2010-03-17 Thread Kristoffer Danielsson
Do you think this could have something to do with this bug? http://sourceforge.net/tracker/?func=detail&aid=2970793&group_id=105970&atid=642714 > Date: Wed, 17 Mar 2010 10:57:15 -0700 > From: b...@bradcunningham.net > To: wix-users@lists.sourceforge.net > Subject: [WiX-users] Strange MSI outp

Re: [WiX-users] Adding multiple files to component

2010-03-17 Thread Kristoffer Danielsson
e files to component > > Maybe, but it seems kind of silly. So if have a directory fill with a > thousand help files, I need to manually maintain this. Even if the tool > that generates the help files have a different name each time. This seems > completely ridiculous that WiX doe

Re: [WiX-users] Adding multiple files to component

2010-03-17 Thread Kristoffer Danielsson
irectory. Or some process that converts a > directory to > > I can't be typing this each and everytime. > > Heat tool. I'll look into it. > > Do you know of any websites with tutorial on it? Any way to integrate into > MSBuild? > > -Original

[WiX-users] Hwo to prevent error code 2203? (msiexec /a Package.msi)

2010-03-16 Thread Kristoffer Danielsson
I made a pure per-user package using Wix 3.5 (InstallVersion="200"). The /a parameter will of course not work: C:\>msiexec /a Package.msi You get this error: "The installer has encountered an unexpected error installing this package. This may indicate a problem with this package. The error

Re: [WiX-users] Adding multiple files to component

2010-03-16 Thread Kristoffer Danielsson
"Heat is designed to allow a setup author to very quickly generate their setup authoring the first time. From then onward, the authoring should be maintained manually to ensure that guids and identifiers remain stable and component rules are not broken. In order to use Heat to generate setup ev

Re: [WiX-users] Adding multiple files to component

2010-03-16 Thread Kristoffer Danielsson
der that directory. Or some process that converts a > directory to > > I can't be typing this each and everytime. > > Heat tool. I'll look into it. > > Do you know of any websites with tutorial on it? Any way to integrate into > MSBuild?

Re: [WiX-users] Adding multiple files to component

2010-03-16 Thread Kristoffer Danielsson
I'm also a newbie, so my solution below could be "wrong". However, it works: Something like that. However, I do remember that this technique is not recommended - for some reason I don't know... > From: cameron.ker...@philips.com > To: WiX-users@lists.sourcefo

[WiX-users] Determine if Install Dir needs administrator rights?

2010-03-16 Thread Kristoffer Danielsson
I have a per-user installer that defaults the installation directory to LocalAppData\Programs\ProductName. Hence, the MSI does not require elevation. However, on Vista, if the user changes the installation directory to C:\Program Files\ProductName and presses "Next", he is doomeed to get an

Re: [WiX-users] "Per-machine" and "Per-user" in the same package?

2010-03-16 Thread Kristoffer Danielsson
; > Palbinder Sandher > Software Deployment & IT Administrator > T: +44 (0) 141 945 8500 > F: +44 (0) 141 945 8501 > > http://www.iesve.com > **Design, Simulate + Innovate with the ** > Integrated Environmental Solutions Limited. Registered in Scotland No. > SC

[WiX-users] "Per-machine" and "Per-user" in the same package?

2010-03-16 Thread Kristoffer Danielsson
I know this is a trite topic, but I can't understand the whole idea. Please clarify! :) Correct me if I'm wrong, but what I've read is that: 1) On Vista: You cannot have ONE msi that allows for both "per-machine" and "per-user" installation on Windows Vista. 2) On Windows 7: You cannot hav

Re: [WiX-users] ICE038 - revised

2010-03-16 Thread Kristoffer Danielsson
ICE038 - revised > > On 3/15/2010 5:57 PM, Kristoffer Danielsson wrote: > > 1) I don't want to specify a registry key for each one of my 100 files! > > > > Cost of doing business: MSI doesn't offer a bette

[WiX-users] Sub-folders in ONE component?

2010-03-15 Thread Kristoffer Danielsson
Wix 3.5. Consider this example: I cannot add "Sub" and its content to the "ParentWithSub" component. Do you always have to define a separate component for a sub-folder? Seems very odd... Thanks! __

[WiX-users] ICE038 - revised

2010-03-15 Thread Kristoffer Danielsson
I'm trying to make a 100% per-user MSI that will work in XP/Vista/W7. http://osdir.com/ml/windows.devel.wix.user/2005-03/msg00297.html Obviously, I'm not alone... What's the best solution? Please help! __

Re: [WiX-users] How to use "<" and ">" in CDATA function

2010-03-15 Thread Kristoffer Danielsson
< > Try googling "xml escape characters". > Date: Mon, 15 Mar 2010 10:26:41 -0800 > From: srinivas.ba...@igate.com > To: wix-users@lists.sourceforge.net > Subject: [WiX-users] How to use "<" and ">" in CDATA function > > > i am new ro wix, > How to use "<" and ">" in CDATA function >

[WiX-users] $(TargetPath) incorrect in post-build event

2010-03-14 Thread Kristoffer Danielsson
Compiled my Wix-project with WixUI_en-us.wxl. That causes the msi to be placed under \bin\$(Configuration)\en-us\ instead of \bin\$(Configuration)\ - the output path seems to be overridden. The $(TargetPath) variable seems to point at the right location (the "en-us" directory), but when USED it

[WiX-users] WixUI_InstallDir + shield icon?

2010-03-13 Thread Kristoffer Danielsson
In v3.5, is it possible to add a shield icon to the Install-button when using WixUI_InstallDir + WixUI_ErrorProgressText? Thanks. _ Mejla på krogen! Hotmail i mobilen. http://new.window

[WiX-users] Toggle shield icon for button depending on administrator/user installation?

2010-03-10 Thread Kristoffer Danielsson
One MSI to fit them all! Is it possible to have a radio button (or any other type of control) that toggles between two states: * Computer installation (Requires elevation) * User installation If a computer installation is selected, the "Install" button gets the shield icon. Otherwise,

Re: [WiX-users] Checkbox not transparent

2010-03-10 Thread Kristoffer Danielsson
gt; From: b...@joyofsetup.com > To: wix-users@lists.sourceforge.net > Subject: Re: [WiX-users] Checkbox not transparent > > On 3/10/2010 6:21 AM, Kristoffer Danielsson wrote: > > That checkbox looks ugly. How do you make it transparent (or solve it some > > other way)? > &

[WiX-users] Checkbox not transparent

2010-03-10 Thread Kristoffer Danielsson
Take a look here: http://www.tramontana.co.hu/wix/lesson8.php Or more specifically: http://www.tramontana.co.hu/wix/customdone.gif That checkbox looks ugly. How do you make it transparent (or solve it some other way)? Thanks

Re: [WiX-users] "This will store the source file separately in the final installation package"

2010-03-09 Thread Kristoffer Danielsson
gt; > I would say that VC++ automatically references/extracts/adds the item > for you without requiring an additional manual step, while WiX just > does exactly what you specify. > > > On Tue, Mar 9, 2010 at 10:34 AM, Kristoffer Danielsson > wrote: > > > > I rea

[WiX-users] "This will store the source file separately in the final installation package"

2010-03-08 Thread Kristoffer Danielsson
I read this in the WIX tutorial: This will store the source file separately in the final installation packagee (so if you refer to your main executable you will end up with two copies). If the size of the file is large enough to cause concern create a small .exe or .ico containing nothing but