Re: [WiX-users] INSTALLDIR Problem

2006-11-06 Thread Bob Arnson




Please keep wix-users on the thread so everyone can participate.

Petrut Andrei wrote:

The problem is that I want that message to appear in
an UI, not at the beggining of the setup. I want to
push a button and after that I want that message to
appear and the setup to finish.
  


You can use a Condition element as a child of Control to show or hide a
message based on the property.

-- 
sig://boB
http://bobs.org


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] INSTALLDIR Problem

2006-11-04 Thread Petrut Andrei
  Hi. I have installed my files somewhere and I want
to call a file from the place I installed it:


Property
Id=PATH[INSTALLDIR]BRBManager\Database\Sqlite\SQLite.Install.exe
/Property 
  CustomAction Id=ExecuteSQLite 
Property=PATH
ExeCommand='[INSTALLDIR]BRBManager\Database\Sqlite\\'
Return='asyncNoWait'/  



The setup can't find the file from the Property,
because of that [INSTALLDIR] ... In the Custom Action,
[Installdir] works fine.   If I hardcode that and I
suppose I choose to install in C:\Program
Files\Barandi\ and then I write this path in that
property, everything is OK. It works very well.
   Why doesn't work with the first [INSTALLDIR]   ?




   This is the way it works:

Property Id=PATHC:\Program
Files\Barandi\BRBManager\Database\Sqlite\SQLite.Install.exe
/Property 
  CustomAction Id=ExecuteSQLite 
Property=PATH
ExeCommand='[INSTALLDIR]BRBManager\Database\Sqlite\\'
Return='asyncNoWait'/  


 
__
Check out the New Yahoo! Mail - Fire up a more powerful email and get things 
done faster. 
(http://advision.webevents.yahoo.com/mailbeta) 


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] INSTALLDIR Problem

2006-11-04 Thread Bob Arnson
Petrut Andrei wrote:
Why doesn't work with the first [INSTALLDIR]   ?
   

If a property is formatted, that means that whatever uses it will call 
a certain MSI API to resolve property values (and other things supported 
by the Formatted property type). You need to use a custom action to set 
a property to a formatted value (that might contain other property 
values in brackets) But if you're trying to run a file that you install, 
just use something like this:

CustomAction FileKey=FileId ExeCommand=arguments ... /

Then you don't have to worry about setting the path -- MSI automatically 
resolves the FileId to the full path of the specified file installed on 
the target machine.

-- 
sig://boB
http://bobs.org



-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users