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/ ---

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 http://www.joyofsetup.c

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. > > ... >After="InstallFiles"> >After="InstallFiles"> > ... > N

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

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

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 an

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: http://www.fusion-online.com.ar"; /> K-ballo.- Craig Ward escribió: > Is it possible to add a shortcut which is not for a file? I want to add >

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

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 http://j

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 it

Re: [WiX-users] program output as conditional

2007-07-13 Thread Bob Arnson
[EMAIL PROTECTED] wrote: > 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? MSI doesn't support capturing the

Re: [WiX-users] Conditions

2007-07-13 Thread Bob Arnson
Craig Ward wrote: > > AProduct >= 1.6 > > 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 RegistrySearch to get the path and FileSearch to confirm its version. -- sig://b

Re: [WiX-users] How to write a text file using WIX

2007-07-13 Thread Bob Arnson
srinivas nomu wrote: Can you please elaborate a little bit the process or point to me to any documentation. I searched on web and could not find relevant topic. Thanks. You can use IniFile elements to write to a file, as long as the other code reading that file can handle the for

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 t

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

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. > > (NOT (KEY1_EXISTS="1") OR NOT (KEY2_EXISTS="1") OR NOT > (KEY3_EXISTS="1")) AND Installed > Isn't there a logical error? ... (not key1exists) or (not key2exists) or

[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] reading INI files

2007-07-13 Thread Sebastian Brand
>> I see that there is an element for adding or removing items from >> an INI file. Are there elements for creating and reading items >> from an INI file? >> > > See the IniFileSearch element. This is for finding something in an existing ini file on the target computer. To write values into

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 Test this carefully with registry value different from the allowed ones. Best regards,

Re: [WiX-users] Using Property in File

2007-07-13 Thread Sebastian Brand
Hello, 's are processed during installation not while compiling the .msi - What you may want to do instead is use pre-processor variables. E.g.: And then: $(var.sourcedir) gets replaced with the value specified in the tag Best regards, Sebastian Brand Instyler Software - http://www

[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

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,

[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: AProduct AProduct >= 1.6 My first condition works ok (ie: the installation fails if the required product is not installed) but my second condition (which checks the version) d

[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

[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: ..\..\MyFolder , but when I try to compile, I get: "error LGHT0100 : File of type 'File' with name '[source.dir]\Main.exe' could not be found. What am I doing wrong???

Re: [WiX-users] how to spawn tomcat installer from the installer I ambuilding?

2007-07-13 Thread Rennie Petersen
It may be better to do something like this from a bootstrap program, before running your own MSI. There are several bootstrap programs available - do a search on the archives for "bootstrap". There is one in Visual Studio 2005. One I like is called dotNetInstaller, it's open source. Rennie