[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 of the setup.exe 'stub', and
put an icon in myself, and then use that stub. But is there some reason WIX
doesn't provide an icon for the setup bootstrapper? Is there some reason its
not made more easy to override the icon (or provide one if there is none)?

 

 

Thanks,

 

Lewis.

 

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


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 Name=MyUILevel
/Property

Test this carefully with registry value different from the allowed ones.

Best regards,
Sebastian Brand

Instyler Software - http://www.instyler.com


On Jul 13, 2007, at 12:29 AM, 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?

 -- 
 ---
 This SF.net email is sponsored by DB2 Express
 Download DB2 Express C - the FREE version of DB2 express and take
 control of your XML. No limits. Just data. Click to get it now.
 http://sourceforge.net/powerbar/db2/ 
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


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 key2exists) or (not key3exists) ...  ==  
if any of the the keys do not exists it returns true. Shouldn't this  
be AND instead of OR?

Also, if those 2 folders get created during installation, does the  
Windows Installer not remove them on uninstallation automatically?

And finally, RemoveFolder can only remove empty folders as far as I  
know.


Best regards,
Sebastian Brand

Instyler Software - http://www.instyler.com
-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


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

and use a string in the output of that command as decision on what to do
next.  Then, it will have to run

kpsewhich config.cfg

and the output of that is used in future decisions.  I can do all of
these easily in a unix shell, but in WiX?

Thanks for any hint!

Patrick

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[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 process (rather than use its
output as a template and commit it to source control) so that if the OCX
interface changes, as it does from time to time, the fragment is
recreated.
 
Question 1: If I use the -gg argument to generate a GUID each time, does
it matter that the component is effectively a different component in
each build? I should note that currently, we only ever do major
upgrades.
 
Question 2: What is the best way to invoke heat as part of a build
process? I'm currently deciding whether to use make or msbuild to tie
everything together, and invoking heat from make is obviously quite
straightforward, but I'm less familiar with msbuild.
 
Cheers,
John
-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


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


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


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 0%.
 Has anyone seen this behavior before?
 
 Control Id=ProgressBar Type=ProgressBar X=35 Y=115 Width=300
 Height=10 ProgressBlocks=yes Text=!(loc.ProgressDlgProgressBar)
   Subscribe Event=SetProgress Attribute=Progress /
 /Control
 
 Thanks,
 Shirley
 
 -
 This SF.net email is sponsored by DB2 Express
 Download DB2 Express C - the FREE version of DB2 express and take
 control of your XML. No limits. Just data. Click to get it now.
 http://sourceforge.net/powerbar/db2/
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users
 
 

-- 
View this message in context: 
http://www.nabble.com/ProgressBar-weird-behavior-on-Windows-2000-tf4058359.html#a11576356
Sent from the wix-users mailing list archive at Nabble.com.


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[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' Vital='yes'

, 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???


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[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

Condition Message=This program requires SomeProduct
  AProduct
/Condition

Condition Message=This program requires version 1.6 or above of
SomeProduct
  AProduct = 1.6
/Condition

My first condition works ok (ie: the installation fails if the required
product is not installed) but my second condition (which checks the
version) doesn't fail when I expect it to.

What am I doing wrong???



-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


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, 
such that creating RemoveFolder/RemoveFile components for each one is 
impractical or severely 
annoying, I think a Custom Action is your best bet.

Rob

Craig Ward wrote:
 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.
 
 
 -
 This SF.net email is sponsored by DB2 Express
 Download DB2 Express C - the FREE version of DB2 express and take
 control of your XML. No limits. Just data. Click to get it now.
 http://sourceforge.net/powerbar/db2/


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


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' Vital='yes'

$(var.sourcedir) gets replaced with the value specified in the ? 
define sourcedir=.. ? tag

Best regards,
Sebastian Brand

Instyler Software - http://www.instyler.com


On Jul 13, 2007, at 11:47 AM, Craig Ward wrote:

 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' Vital='yes'

 , 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???


 -- 
 ---
 This SF.net email is sponsored by DB2 Express
 Download DB2 Express C - the FREE version of DB2 express and take
 control of your XML. No limits. Just data. Click to get it now.
 http://sourceforge.net/powerbar/db2/
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


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 RegistrySearch to get the path and FileSearch to 
confirm its version.

-- 
sig://boB
http://joyofsetup.com/



-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


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, all files and files 
 and folders of the other mergemodules and the main setup get installed in the 
 wrong path.
   

Are you using WixUI_InstallDir as the UI? If not, what does your 
directory-selection dialog authoring look like?

-- 
sig://boB
http://joyofsetup.com/



-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[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 take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


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.


--
sig://boB
http://joyofsetup.com/

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


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://joyofsetup.com/

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[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 versons of WMF are not
100% backward compatible with 9.0)

   Property Id=WMFVERSION Value=0x00090005 /
   Property Id=UPGRADEWMFTO95 Value=1 /

The WMFVERSION property is set by radio buttons to either 0x00090005 or
0x0009 if no version of WMF is found at all.  The dialog that does that
is not shown (as expected) in the case that is failing for me.

I show a dialog based on found versions of Windows Media Format SDK
redistributables...

   !-- Sense existing WMF version --
   Property Id=WMF90
 DirectorySearch Id=CheckWmfKeyFile90 Path=[SystemFolder]
Depth=0
   FileSearch Id=wmfKeyDll90 MinVersion=9.0.0.0 MaxVersion=
9.4.. Name=wmvcore.dll/
 /DirectorySearch
   /Property
   Property Id=WMFHI
 DirectorySearch Id=CheckWmfKeyFile95OrMore Path=[SystemFolder]
Depth=0
   FileSearch Id=wmfKeyDll95 MinVersion=10.0.0.3645 MaxVersion=
99... Name=wmvcore.dll/
 /DirectorySearch
   /Property


The dialog with the checkbox... only shown if WMF90 is set and WMFHI isn't
set.  (If anyone has a better way to detect the version of installed Windows
Media format SDK redistributables, please let me know.)


 !-- 9.0 already installed. Ask to upgrade to Windows Media Format 9.5--
 Dialog Id=WindowsMediaDlg95 Width=370 Height=270 Title=Windows
Media Version NoMinimize=yes
   Control Id=WMFCheckBox Type=CheckBox X=45 Y=85 Width=256
Height=50 Text=Install Windows Media Format Version 9.5
Property=UPGRADEWMFTO95/
   Control Id=WMFNoticeText Type=Text X=30 Y=140 Width=256
Height=50
Text={\WixUI_Font_Emphasized}NOTICE: Windows Media Format
9.5 does NOT support Windows Media MPEG-4 Video V3.  System restore is
required to revert to 9.0.  Windows Media Player 10 or higher is needed to
play embedded timecode./
   !-- Standard buttons, banners, etc. --
   Control Id=Back Type=PushButton X=180 Y=243 Width=56
Height=17 Text=!(loc.WixUIBack) /
   !-- AddLocal and Remove used with Feature Id to adjust installed
features --
   Control Id=Next Type=PushButton X=236 Y=243 Width=56
Height=17 Disabled=no Text=!(loc.WixUINext)
 Publish Event=Remove Value=WinMF90/Publish
 Publish Event=AddLocal Value=WinMF95UPGRADEWMFTO95/Publish
 Publish Event=Remove Value=WinMF95![CDATA[NOT
(UPGRADEWMFTO95)]]/Publish
   /Control
   Control Id=Cancel Type=PushButton X=304 Y=243 Width=56
Height=17 Cancel=yes Text=!(loc.WixUICancel)
 Publish Event=SpawnDialog Value=CancelDlg1/Publish
   /Control
   Control Id=BannerBitmap Type=Bitmap X=0 Y=0 Width=370
Height=44 TabSkip=no Text=!(loc.SetupTypeDlgBannerBitmap) /
   Control Id=BannerLine Type=Line X=0 Y=44 Width=370
Height=0 /
   Control Id=BottomLine Type=Line X=0 Y=234 Width=370
Height=0 /
   Control Id=Title Type=Text X=15 Y=6 Width=200 Height=15
Transparent=yes NoPrefix=yes
Text={\WixUI_Font_Title}Windows Media Version /
   Control Id=Description Type=Text X=25 Y=23 Width=280
Height=15 Transparent=yes NoPrefix=yes
Text=Update Windows Media Framework? /
 /Dialog

Then I run the appropriate redist.exe based on the selected feature and
other criteria...


   Feature Id=WinMF90 Title=Windows Media Framework 9.0 Level=1
Absent=allow TypicalDefault=install AllowAdvertise=no
Description=Windows Media Framework 9.0.  Use this only if
you require Windows Media MPEG-4 Video V3 support./
   Feature Id=WinMF95 Title=Windows Media Framework 9.5 Level=1
Absent=allow TypicalDefault=install AllowAdvertise=no
Description=Windows Media Framework 9.5.  Does NOT support
Windows Media MPEG-4 Video V3.  Cannot be uninstalled, use System Restore to
revert to 9.0./


   InstallExecuteSequence
...
 Custom Action=exec_WMF90_redist After=InstallFiles![CDATA[NOT
Installed AND WMFVERSION = 0x0009 AND (NOT UPGRADEWMFTO95) AND (NOT
WMFHI)]]/Custom
 Custom Action=exec_WMF95_redist After=InstallFiles![CDATA[NOT
Installed AND (WMFVERSION = 0x00090005 OR UPGRADEWMFTO95) AND (NOT
WMFHI)]]/Custom
...
/InstallExecuteSequence

Perhaps I'm going about this the wrong way entirely.. but I'm trying to
avoid custom actions.

Any help is appreciated.

Thanks,

Scott
-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


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

K-ballo.-

Craig Ward escribió:
 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 take
 control of your XML. No limits. Just data. Click to get it now.
 http://sourceforge.net/powerbar/db2/
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users

   

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


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 and what the user 
wanted. The logic might have been slightly off but I found a different way to 
do it anyways (custom actions).

-Original Message-
From: Sebastian Brand [mailto:[EMAIL PROTECTED]
Sent: Friday, July 13, 2007 6:53 AM
To: Pierson Lee (Volt)
Cc: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Annoying RemoveFolders problem

 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 key2exists) or (not key3exists) ...  ==
if any of the the keys do not exists it returns true. Shouldn't this
be AND instead of OR?

Also, if those 2 folders get created during installation, does the
Windows Installer not remove them on uninstallation automatically?

And finally, RemoveFolder can only remove empty folders as far as I
know.


Best regards,
Sebastian Brand

Instyler Software - http://www.instyler.com

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


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 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://joyofsetup.com/





--
Pagarbiai,
Benediktas Lipnickas
-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[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 that I can prompt the user with a dropdown box
populated by VB Script at the very beginning of the install process:

 

 InstallUISequence

Custom Action=caTrySimpleVBS Before=ChooseWebsite /

Show Dialog=ChooseWebsite After=CostFinalize  /

  /InstallUISequence

 

If I try to make this UI appear after other actions or set the Sequence to be
a higher number then my UI just doesn't show up at all.

 

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?

 

Thanks,

 

Jeremie

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


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 
 After=InstallFiles![CDATA[NOT Installed AND WMFVERSION = 
 0x0009 AND (NOT UPGRADEWMFTO95) AND (NOT WMFHI)]]/Custom
   Custom Action=exec_WMF95_redist 
 After=InstallFiles![CDATA[NOT Installed AND (WMFVERSION = 
 0x00090005 OR UPGRADEWMFTO95) AND (NOT WMFHI)]]/Custom
 ...
 /InstallExecuteSequence

Note that that works only when the redist isn't using MSI. If it were, 
you'd get a failure when it tried to run a second MSI simultaneously.

-- 
sig://boB
http://joyofsetup.com/



-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


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.com/2007/05/30/feature-conditions-and-ui/.


--
sig://boB
http://joyofsetup.com/

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


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/



-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users