[WiX-users] Feature installation condition

2007-07-16 Thread Lawrence
Hi all.

Forgive me if this has been covered before, but I can find no information in
the archives.

I am using wix v3 (through visual studio), which admittedly may not be the
best way to learn but it does seem to have a more inclusive feature set.

I am trying to do a conditional reboot, depending on whether or not a
certain feature (or component) is installed.

Looking through google, I found that I should be able to use &featureId to
test for this and on the Installer SDK is a list of variables such as
&featureId, !featureId and $componentId, but nothing seems to do the trick.

If I try this:


  (&featureId)


I get an error saying that a ';' was expected.

I have tried with and without brackets.

Any other variable I try, such as !featureId or !featureId=4 seems to cause
a reboot whether or not I install the feature.

When I try NOT !featureId it doesn't reboot no matter which feature I
install.

Am I doing something wrong?

Thanks in advance.

Lawrence




-
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] How to refer to an env.var for install location?

2007-07-16 Thread Onur Simsek

Hi all,

I am writing a plugin and I need help in getting an environment variable's
value and install my plugin to that directory. My env.var is %AppinstallDir%.
This variable contains the full path of the application.



So I am accessing to the value using *$(env.AppinstallDir)*









…


I receive and exception "undefined environment variable". what am i doing
wrong? i tried to search for a sample but all samples that i found was using
directory search but they weren't installing to that directory.

Any help is appreciated
Thanks
Onur


ps: i am not a member of the list, please make sure my email is added to the
to line.

"Fear gives me wings"
-
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] Failed to run msi in Vista. How can make CA DEP compatible?

2007-07-16 Thread Bob Arnson

Hao Liu wrote:


From the http://support.microsoft.com/kb/929710 link, I understand the 
msiexec is 4.0 on Vista and it is default DEP enabled. The custom 
action(s) must be compatible with DEP in windows vista.




It's more likely your DLL has a dependency (e.g., the C++ runtime DLL) 
that isn't available on the target machine. Try using the static CRT.


--
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] Weekly Releases

2007-07-16 Thread Bob Arnson

Ian Stevenson wrote:

Are they considered to be less stable than what is found here:
http://sourceforge.net/project/showfiles.php?group_id=105970&package_id=16 


?
Just wondering whether it's recommend to use or avoid those packages?


Generally, a weekly release is "promoted" to a SourceForge release after 
it's been out for a while and no major bug reports surface. So they're 
an unknown factor but they come out frequently.


--
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-16 Thread Bob Arnson

Please keep /wix-users/ on the thread.

Benas wrote:

I have tried "RAW" but results where the same.

How stable is V3? Is it recommended to release products with it or not?


WiX v3 is still in active development so breaking schema changes are 
still possible. However, nothing in AppSearch handling has really 
changed in v3.


--
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] Shield Decoration on buttons

2007-07-16 Thread Bob Arnson

Please keep /wix-users/ on the thread.

Deily, Don wrote:

I'm having the same problem as "Gareth at Serif": In Vista, my installer has properties 
that cause "Ignoring disallowed property" messages.
My question to you is: How do I use your suggested grammar 
"Property/@Secure="yes""  ?  Is that how I specify the property in the Property 
table?
  


Yes. Use the Secure attribute in a Property element to have WiX add it 
to the SecureCustomProperties property. MSI uses that to determine which 
properties to pass to the execute server.


--
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] How to call a .dll from wix with arguments?

2007-07-16 Thread Christopher Painter
InstallShield has a user story called `standard dll` ( vs `MSI dll` ) where a 
built-in CA and describing table data maps MSI properties ( and constants ) to 
function arguments.   This allows you to take a DLL written by someone that 
wasn't specifically designed for MSI and place a wrapper around it to get what 
you want done without rolling any code.
   
  I actually have found it useful more then once over the years if WiX was to 
decide to do something similar...  

Ian Stevenson <[EMAIL PROTECTED]> wrote:
  Hi Srini,
   
  The idea is that you don't explicitly pass any arguments to the function call 
(the only argument being the MSI handle that get's set by the installer), 
instead they are passed by a process of the installer setting up the necessary 
properties before the custom action is executed. Then within the DLL's function 
you make calls to MsiGetProperty() to get the "arguments" and do your 
processing. In a similar way, if you need some OUT arguments you use 
MsiSetProperty.
   
  If you google for MsiGetProperty you will find many examples (some not wix 
specific, but it does not matter), but here are some starting points for you:
   
  http://msdn2.microsoft.com/En-US/library/aa370134.aspx
   
  http://www.wixwiki.com/index.php?title=Simple_Custom_Action_Dll
   
  That should get you started, plus it seems there are some threads in the 
archive for this mailing list, so you should be able to find some tips 
searching through that as well.
   
  Good luck,
  Ian.
   


-
  From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of srinivas nomu
Sent: Tuesday, 17 July 2007 7:37 AM
To: Mike Dimmick; wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] How to call a .dll from wix with arguments?


  
  Does this mean I have to use only one argument by combining those two 
arguments?. You also said that "Your custom action will have to read any other 
information it needs from the install database using e.g. MsiGetProperty."

  What is meant by that?. Can you elaborate?.
   
  Any good examples?. Thank you very much.
   
  Srini
   
-
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


   
-
Building a website is a piece of cake. 
Yahoo! Small Business gives you all the tools to get online.-
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] How to call a .dll from wix with arguments?

2007-07-16 Thread Ian Stevenson
Hi Srini,
 
The idea is that you don't explicitly pass any arguments to the function
call (the only argument being the MSI handle that get's set by the
installer), instead they are passed by a process of the installer
setting up the necessary properties before the custom action is
executed. Then within the DLL's function you make calls to
MsiGetProperty() to get the "arguments" and do your processing. In a
similar way, if you need some OUT arguments you use MsiSetProperty.
 
If you google for MsiGetProperty you will find many examples (some not
wix specific, but it does not matter), but here are some starting points
for you:
 
http://msdn2.microsoft.com/En-US/library/aa370134.aspx
 
http://www.wixwiki.com/index.php?title=Simple_Custom_Action_Dll
 
That should get you started, plus it seems there are some threads in the
archive for this mailing list, so you should be able to find some tips
searching through that as well.
 
Good luck,
Ian.
 




From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of srinivas
nomu
Sent: Tuesday, 17 July 2007 7:37 AM
To: Mike Dimmick; wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] How to call a .dll from wix with arguments?


Does this mean I have to use only one argument by combining those two
arguments?. You also said that "Your custom action will have to read any
other information it needs from the install database using e.g.
MsiGetProperty."

What is meant by that?. Can you elaborate?.
 
Any good examples?. Thank you very much.
 
Srini
 
-
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] Weekly Releases

2007-07-16 Thread Ian Stevenson
Thanks Bob, I was unaware of that location. Question:
 
Are they considered to be less stable than what is found here:
http://sourceforge.net/project/showfiles.php?group_id=105970&package_id=
16
?
Just wondering whether it's recommend to use or avoid those packages?
 
Thanks,
Ian.
 



From: Bob Arnson [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, 17 July 2007 1:05 AM
To: Ian Stevenson
Cc: Lewis G. Pringle, Jr.; wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] setup.exe has no icon?


Ian Stevenson wrote: 

Where did you get 3.0.3106.0 from? Did you build it from source?
I ask because I notice it's not available for download yet (I just
checked) and as such it may not really be ready for release yet. 


Weekly releases of WiX are available at
http://wix.sourceforge.net/releases/.

-- 
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] How to call a .dll from wix with arguments?

2007-07-16 Thread srinivas nomu
Does this mean I have to use only one argument by combining those two 
arguments?. You also said that "Your custom action will have to read any other 
information it needs from the install database using e.g. MsiGetProperty."

  What is meant by that?. Can you elaborate?.
   
  Any good examples?. Thank you very much.
   
  Srini
   
   
  Mike Dimmick <[EMAIL PROTECTED]> wrote:
v\:* {behavior:url(#default#VML);}  o\:* {behavior:url(#default#VML);}  
w\:* {behavior:url(#default#VML);}  .shape {behavior:url(#default#VML);}
A DLL custom action expects one argument only, an MSIHANDLE. The 
signature should be:
   
  UINT WINAPI MyCustomAction( MSIHANDLE hInstall );
   
  Your custom action will have to read any other information it needs from the 
install database using e.g. MsiGetProperty. If your custom action is deferred 
(though this one isn’t) it is very limited in what it can view – mostly just to 
a ‘custom action data’ property named the same as the custom action. An 
immediate custom action can view any part of the database and can even add new 
rows at runtime (although these changes are not persisted, as far as I know).
   
  -- 
  Mike Dimmick
   
  
-
  
  From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of srinivas nomu
Sent: 16 July 2007 21:18
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] How to call a .dll from wix with arguments?

   
Hi

I have to call  a dll which is written in C. I donot know how to call this 
dll with arguments. How should I pass these two arguments into entrydll. Write 
now I have code like this:

 

 

 

 

 

   

 

From main program, the dll works fine like this

 

rc = create_license_file_from_cdkey("62225-1127270143-1186981200", "10.0");

 

How should I pass the above two arguments. Any ideas or examples please?.

 

Srini



-
  
  TV dinner still cooling?
Check out "Tonight's Picks" on Yahoo! TV.



 
-
Expecting? Get great news right away with email Auto-Check.
Try the Yahoo! Mail Beta.-
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] How to call a .dll from wix with arguments?

2007-07-16 Thread Mike Dimmick
A DLL custom action expects one argument only, an MSIHANDLE. The signature
should be:

 

UINT WINAPI MyCustomAction( MSIHANDLE hInstall );

 

Your custom action will have to read any other information it needs from the
install database using e.g. MsiGetProperty. If your custom action is
deferred (though this one isn't) it is very limited in what it can view -
mostly just to a 'custom action data' property named the same as the custom
action. An immediate custom action can view any part of the database and can
even add new rows at runtime (although these changes are not persisted, as
far as I know).

 

-- 

Mike Dimmick

 

  _  

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of srinivas nomu
Sent: 16 July 2007 21:18
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] How to call a .dll from wix with arguments?

 

Hi

I have to call  a dll which is written in C. I donot know how to call this
dll with arguments. How should I pass these two arguments into entrydll.
Write now I have code like this:

 

 

 

 

 

   

 

>From main program, the dll works fine like this

 

rc = create_license_file_from_cdkey("62225-1127270143-1186981200", "10.0");

 

How should I pass the above two arguments. Any ideas or examples please?.

 

Srini

  

  _  

TV dinner still cooling?
Check out 
"Tonight's Picks" on Yahoo! TV.

-
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] How to call a .dll from wix with arguments?

2007-07-16 Thread Wilson, Phil
If that's a custom action Dll the function signature is fixed, so I
assume you own that Dll to make it fit. After that, you don't pass
parameters you retrieve properties with MsiGetProperty(). 

If you follow the usual model for a CD key, that first parameter is the
PIDKEY standard Windows Installer property, and the 
second one looks like it's the ProductVersion property, so you can
probably just get the values with MsiGetProperty calls to PIDKEY and
ProductVersion.  

Phil Wilson 



From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of srinivas
nomu
Sent: Monday, July 16, 2007 1:18 PM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] How to call a .dll from wix with arguments?


Hi
I have to call  a dll which is written in C. I donot know how to call
this dll with arguments. How should I pass these two arguments into
entrydll. Write now I have code like this:
 
 
 
 
 
   
 
>From main program, the dll works fine like this
 
rc = create_license_file_from_cdkey("62225-1127270143-1186981200",
"10.0");
 
How should I pass the above two arguments. Any ideas or examples
please?.
 
Srini


TV dinner still cooling?
Check out "Tonight's Picks"
  on Yahoo! TV.


-
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] Failed to run msi in Vista. How can make CA DEP compatible?

2007-07-16 Thread Hao Liu
Dear friends,

 

I am trying to run an msi  on Vista, It failed. It can run on XP and
windows 2000 without any problem. For testing, I just include a very
simple custom action (dll written in VC++) called StartAtHocDSWSetup and
entrypoint: SetupDSW. Its purpose is to write CustomActionData to a
MessageBox. But the msi could not run the CA on Vista. The following is
the log information:

 

MSI (s) (D0:A0) [13:16:42:801]: Executing op: CacheSizeFlush(,)

MSI (s) (D0:A0) [13:16:42:801]: Executing op:
ActionStart(Name=StartAtHocDSWSetup,,)

MSI (s) (D0:A0) [13:16:42:801]: Executing op:
CustomActionSchedule(Action=StartAtHocDSWSetup,ActionType=1025,Source=Bi
naryData,Target=SetupDSW,CustomActionData=C:\Windows\Temp\6.2.1.7\^^)

MSI (s) (D0:A0) [13:16:42:847]: Creating MSIHANDLE (3) of type 790536
for thread 2208

MSI (s) (D0:40) [13:16:42:847]: Invoking remote custom action. DLL:
C:\Windows\Installer\MSI16A8.tmp, Entrypoint: SetupDSW

MSI (s) (D0:40) [13:16:43:129]: Closing MSIHANDLE (3) of type 790536 for
thread 2208

Action ended 13:16:43: InstallFinalize. Return value 3.

 

>From the http://support.microsoft.com/kb/929710 link, I understand the
msiexec is 4.0 on Vista and it is default DEP enabled. The custom
action(s) must be compatible with DEP in windows vista. 

 

Question: How can make my CA DEP compatible?

 

I tried to use BCDedit /set nx=AlwaysOff command to set hardware DEP off
and restart the computer. But I got the same log information when I run
the msi. 

 

Please let me know what I can do make it work in Vista?

 

Thanks!

 

 

 

-
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] How to call a .dll from wix with arguments?

2007-07-16 Thread srinivas nomu
Hi
  I have to call  a dll which is written in C. I donot know how to call this 
dll with arguments. How should I pass these two arguments into entrydll. Write 
now I have code like this:
   
   
  
  
   
   
   
 
   
  From main program, the dll works fine like this
   
  rc = create_license_file_from_cdkey("62225-1127270143-1186981200", "10.0");
   
  How should I pass the above two arguments. Any ideas or examples please?.
   
  Srini

 
-
TV dinner still cooling?
Check out "Tonight's Picks" on Yahoo! TV.-
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] setup.exe has no icon?

2007-07-16 Thread Mike Dimmick
Most straightforward approach at present is to diff the source!

 

-- 

Mike Dimmick

 

  _  

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of John Hall
Sent: 16 July 2007 16:45
To: Bob Arnson
Cc: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] setup.exe has no icon?

 

 


Weekly releases of WiX are available at
http://wix.sourceforge.net/releases/. 

Is there an easy way to find out what is changed from release to release?
The history.txt file looked promising, but it is not always updated from
release to release, and is just a list of changes - there are no markers to
show where any of the releases occurred in the history.

 

Regards,

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] Hospital CEO's on file here

2007-07-16 Thread application Kelley


We're bringing back the special we ran a few weeks ago due to popular demand:

American Doctor's Directory
over 700 thousand records sortable by state or specialty
many different fields, lots of specialties  -> $359

American Hospital Directory
more than 23 thousand administrators on file
full data on high profile execs ---> $299

American Nursing Home Directory
over 31,000 senior admins, 11,000 nursing directors
in over 14,000 US nursing homes --> $199

American Dentist and Dental Services Directory
Includes 597,000 total records > $199

Order the Doctor Directory and get the other 3 at no cost!

For more details or to purchase send an email to : [EMAIL PROTECTED]





send an email to the above address with "unlist" to be unlisted from our 
database.


-
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] setup.exe has no icon?

2007-07-16 Thread John Hall
 



Weekly releases of WiX are available at
http://wix.sourceforge.net/releases/. 

Is there an easy way to find out what is changed from release to
release? The history.txt file looked promising, but it is not always
updated from release to release, and is just a list of changes - there
are no markers to show where any of the releases occurred in the
history.
 
Regards,
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


Re: [WiX-users] Update?

2007-07-16 Thread Bob Arnson

Kevin Burton wrote:


I am sorry this is such a beginner question but I have read the 
tutorial and listened to various replies about patches etc. and I have 
yet to find a solution.


 

What I want is this. If the application is already installed stop the 
installed services, copy the updated files to the same location that 
the application was installed at, and start the services. If the 
application is not installed then go through the "normal" installation 
process prompting the user for information, installing services, 
modifying config files, starting services, etc. (Note: this part works 
just fine). Is there a sample or some words of advice that would put 
me closer than I am to a solution?




That's a major upgrade. See http://www.tramontana.co.hu/wix/lesson4.php 
for details.


--
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] Checkbox that won't check or un-check

2007-07-16 Thread Bob Arnson
Scott Palmer wrote:
> Microsoft certainly doesn't like to make things easy do they?   I 
> assume though that if someone in the WMF group clued in to using MSI 
> that they might also have the foresight to provide a merge module for 
> the redistributables.  Kind of like they should have years ago.

Merge modules are used less and less these days as it's not possible for 
the merge module provider to publish patches that update all products on 
a machine.

> However, assuming that they continue to do things like they have been 
> for years (i.e. badly), what is the way to install another MSI 
> installer from within my own?

A chainer/bootstrapper is the way to go.

-- 
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] setup.exe has no icon?

2007-07-16 Thread Bob Arnson

Ian Stevenson wrote:
Where did you get 3.0.3106.0 from? Did you build it from source? I ask 
because I notice it's not available for download yet (I just checked) 
and as such it may not really be ready for release yet.


Weekly releases of WiX are available at 
http://wix.sourceforge.net/releases/.


--
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] setup.exe has no icon?

2007-07-16 Thread Bob Arnson

Lewis G. Pringle, Jr. wrote:


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




Assume it's a feature that hasn't been implemented yet.

--
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-16 Thread Bob Arnson
Mailinglist wrote:
> We use a complete custom UI, here is the InstallDirDlg:
>   

That looks fine but the sequencing you give in an earlier message means 
that any directory chosen by the user will be overwritten by your 
DirectorySet custom action. You want to add a condition -- NOT TARGETDIR 
-- so it doesn't run if the user has already specified one in the 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] Checkbox that won't check or un-check

2007-07-16 Thread John Hall
 

Microsoft certainly doesn't like to make things easy do they?
I assume though that if someone in the WMF group clued in to using MSI
that they might also have the foresight to provide a merge module for
the redistributables.  Kind of like they should have years ago. 

However, assuming that they continue to do things like they have
been for years (i.e. badly), what is the way to install another MSI
installer from within my own? 
 

You need a bootstrapper application, aka a setup.exe to install your
prerequisites. If you search the list archives
(http://www.mail-archive.com/wix-users@lists.sourceforge.net/), there is
quite a lot on this subject.
 
I personally have started using dotNetInstaller, which as well as
installing the .net redistributables, can chain any other package you
need.
 
Regards,
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


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

2007-07-16 Thread Scott Palmer

Microsoft certainly doesn't like to make things easy do they?   I assume
though that if someone in the WMF group clued in to using MSI that they
might also have the foresight to provide a merge module for the
redistributables.  Kind of like they should have years ago.

However, assuming that they continue to do things like they have been for
years (i.e. badly), what is the way to install another MSI installer from
within my own?

Scott

On 7/13/07, Bob Arnson <[EMAIL PROTECTED]> wrote:


> 
> ...
>After="InstallFiles">
>After="InstallFiles">
> ...
> 

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


[WiX-users] Order of Custom Actions

2007-07-16 Thread md5hans

Hi!

I have a question about controlling the order of my Custom Actions. Below is
a section of a Wix file where I want the custom action
ModifyArcGisInstallDataFile to be executed (and completed) before the Custom
Action LaunchPyton. The first custom action modifies a file that the
LanchPyton action uses. I have to admit that I am not sure of almost any of
my "Before", "After" and "Execute" statements, I suppose I have been lucky
until now...

/Hans











  UPGRADE = "no"
  UPGRADE = "yes"
  UPGRADE =
"yes"
   NOT Installed 
  
NOT Installed
   NOT Installed and UPGRADE = "no"
   NOT Installed
AND ARCGIS = "yes"

-- 
View this message in context: 
http://www.nabble.com/Order-of-Custom-Actions-tf4086397.html#a11614493
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


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

2007-07-16 Thread Mailinglist

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

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

We use a complete custom UI, here is the InstallDirDlg:






1


1












1
1



And here follows the BrowseDlg:




1
1


1
1






1


1










Oliver

-
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-16 Thread Mailinglist
Hi Craig,



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.



Well, we have the same Problem, one Folder is created with Setup, a random 
number of subfolders with random names (exactly assembly-full-names) are 
createt with files during the program. On deinstall, we need to delete those 
folders, since otherwise the main  directory isn't deleted either.



I use a combination like this for the problem:



  

  





  
Installed
  




Hope this is useful for you, maybe we should request this feature for next 
stable WiX?

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