[WiX-users] setup.exe has no icon?

2007-07-13 Thread Lewis G. Pringle, Jr.
Folks: The setup.exe built using setupbld.exe in the latest (3.0.3106.0) version of WIX doesn't include an application icon. Most other installers appear to have some kind of installer icon. Is this choice intentional? I realize I can make a manual copy

Re: [WiX-users] UILevel

2007-07-13 Thread Sebastian Brand
Hello, I think you can set the [UILevel] Property according to http:// msdn2.microsoft.com/en-US/library/aa372096.aspx So if you have a registry value with that numeric value, your wxs may look like Property Id=UILevel RegistrySearch Id=SetUILevel Root=HKLM Key=Somewhere\InThe \Registry

Re: [WiX-users] Annoying RemoveFolders problem

2007-07-13 Thread Sebastian Brand
I am attempting to remove 2 folders that I created on install ONLY if all 3 registry keys I’m checking for do not exist. Condition(NOT (KEY1_EXISTS=1) OR NOT (KEY2_EXISTS=1) OR NOT (KEY3_EXISTS=1)) AND Installed/Condition Isn't there a logical error? ... (not key1exists) or (not

[WiX-users] program output as conditional

2007-07-13 Thread Smagt
I'm trying to build a windows installer for a MiKTeX package, and it needs to do some simple checks. These checks must be performed by running specific programs, the output of which go into decision trees. Can I do that with WiX? For instance, my installer would first have to run tex

[WiX-users] Proper use of heat on a COM control

2007-07-13 Thread John Hall
I'm starting to build an installer for an application that includes a number of VB6 authored OCX controls. It seems that the correct way to capture COM registration data for these OCXs is to use 'heat file ...', which seems to generate nice Wix fragments. I want to call heat as part of the build

[WiX-users] Removing Folders

2007-07-13 Thread Craig Ward
Is there a way to call RemoveFolder, and have it remove (and empty) all sub-folders? My uninstall is using RemoveFile/RemoveFolder on a folder (which contains files created after installation), but since some of the files are stored in sub-directories, the uninstall leaves the folder orphaned.

Re: [WiX-users] ProgressBar weird behavior on Windows 2000

2007-07-13 Thread Gareth at Serif
I think it's a documented bug of the progress bar behaviour on certain versions of Windows Installer if your package is installing more than 2GB of data. Regards, Gareth Man, Shirley wrote: Hi all, On Windows 2000, our installer's progress bar first jumps to 100%, then rewinds back to

[WiX-users] Using Property in File

2007-07-13 Thread Craig Ward
I'm trying to access a property in a file component. I have code that looks like this: Property Id=source.dir ..\..\MyFolder /Property Directory Id='Target.Bin' Name='Bin' Component Id='Exe' Guid='my guid' File Id='Main.exe' Name='Main.exe' Source='[source.dir]\Main.exe DiskId='1'

[WiX-users] Conditions

2007-07-13 Thread Craig Ward
I'm try to check the file version of a required library as part of condition. I have code that looks like: Property Id=AProduct RegistrySearch Id='AProduct.Registry' Type='raw' Root='HKLM' Key='SOFTWARE\SomeCompany\SomeProduct' Name='CurrentVersion' / /Property

Re: [WiX-users] Removing Folders

2007-07-13 Thread Rob Hamflett
No, RemoveFolder only removes empty folders. You'd have to create a RemoveFolder entry for each subfolder, and then have RemoveFile entries for all the files they contain. You can use wildcards in RemoveFile though, so it's not as painful as it could be. If you have a lot of files/folders,

Re: [WiX-users] Using Property in File

2007-07-13 Thread Sebastian Brand
Hello, Property 's are processed during installation not while compiling the .msi - What you may want to do instead is use pre-processor variables. E.g.: ?define sourcedir = ..\..\MyDir ? And then: File Id='Main.exe' Name='Main.exe' Source='$(var.sourcedir)\Main.exe DiskId='1'

Re: [WiX-users] Conditions

2007-07-13 Thread Bob Arnson
Craig Ward wrote: Condition Message=This program requires version 1.6 or above of SomeProduct AProduct = 1.6 /Condition The MSI doc says floating point numeric values are not supported. The general approach MSI offers for version comparisons is via AppSearch. In WiX, you could use

Re: [WiX-users] CustomUI change install path not possible?

2007-07-13 Thread Bob Arnson
Mailinglist wrote: The directory causing the error is the TARGETDIR. The root path of the installation and yes, the main component has a CreateFolder tag for it. Stop, I've just seen that I turned facts. The one MergeModule with the IisExtension gets its folders createt in the right path,

[WiX-users] Shortcuts

2007-07-13 Thread Craig Ward
Is it possible to add a shortcut which is not for a file? I want to add a URL shortcut as part of an installation. - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and

Re: [WiX-users] UILevel

2007-07-13 Thread Bob Arnson
Pierson Lee (Volt) wrote: Is there a property within the Wix I can set conditionally (dependent upon a registry key) whether or not to display a UI? No. UILevel is set by MSI to indicate how the *user* chose to run your package. As long as you have authored UI, a user can always request

Re: [WiX-users] Install target directory from Registry key.

2007-07-13 Thread Bob Arnson
Please keep /wix-users/ on the thread. Benas wrote: No i'm not doing anything about InstallExecuteSequence. Is it necessary? No. I was asking because the default order works for me. The only thing I'm doing that's different is using a real Name instead of the . Name. -- sig://boB

[WiX-users] Checkbox that won't check or un-check

2007-07-13 Thread Scott Palmer
I've got a checkbox in my installer that for some reason cannot be changed by the user and I haven't a clue why. Anyone got some ideas? Here's some code snippets: The initial state is set to checked... (most users will want to upgrade .. some will need to keep old versions because later

Re: [WiX-users] Shortcuts

2007-07-13 Thread K-ballo
If by URL shortcut you mean an .url file, you can simply add the file to the installation, or use the INI trick that was common on Inno Setup: IniFile Id=NewIniFile1 Name=Fusionur LongName=Fusion.url Action=addTag Section=InternetShortcut Key=URL Value=http://www.fusion-online.com.ar;

Re: [WiX-users] Annoying RemoveFolders problem

2007-07-13 Thread Pierson Lee (Volt)
My issue was originally that I specified them to be permanent and I wanted the user to specify whether to remove the folders. Also I wanted to verify that my other msi installations (other programs) weren't installed prior to removing the folders. So it had to satisfy both the key requirement

Re: [WiX-users] Install target directory from Registry key.

2007-07-13 Thread Benas
Can you provide some example what works for you? I'm using WIX v2. Thank you, Benas 2007/7/13, Bob Arnson [EMAIL PROTECTED]: Please keep *wix-users* on the thread. Benas wrote: No i'm not doing anything about InstallExecuteSequence. Is it necessary? No. I was asking because the default

[WiX-users] Displaying UI AFTER the features have been selected

2007-07-13 Thread Jeremie Davis
I've been stuck on this for a while now. I'm writing an installer for an application where I may want to create a virtual directory depending on what features get selected and if I need to create a virtual directory I want to prompt the user for which website to use. I have WIX 3 working

Re: [WiX-users] Checkbox that won't check or un-check

2007-07-13 Thread Bob Arnson
Scott Palmer wrote: I've got a checkbox in my installer that for some reason cannot be changed by the user and I haven't a clue why. Anyone got some ideas? You need to specify the CheckBoxValue attribute. InstallExecuteSequence ... Custom Action=exec_WMF90_redist

Re: [WiX-users] Displaying UI AFTER the features have been selected

2007-07-13 Thread Bob Arnson
Jeremie Davis wrote: Is it possible to have the UI displayed AFTER the user has selected the features they want so that I can not prompt them for a Website if they don't need one? Yes, but not via InstallUISequence (generally). See the comments to my blog entry at

Re: [WiX-users] Install target directory from Registry key.

2007-07-13 Thread Bob Arnson
Benas wrote: Can you provide some example what works for you? I'm using WIX v2. Sorry, the only example I have is in v3 and I can't share it. But you might want to try using RegistrySearch/@Type=raw instead of directory. -- sig://boB http://joyofsetup.com/