That is probably what I will end up doing. The only reason i was shooting for
not hardcoding the versioned directory is because i wanted the person
installing to have the ability to choose a completely different INSTALLDIR
(without the version in it) if they so choose.
It isn't very important for them to do this, but it did turn into an
interesting problem for me of "how could i do this?" :)
the only solution i can think of right now would be to get my hands on the
string library that was talked about in "remove trailing path from slash" if it
had enough functionality to work it. i agree though, it probably isn't worth
the trouble.
thanks,
steve
----------------------------------------
From: Bob Arnson <[EMAIL PROTECTED]>
Sent: Thursday, June 21, 2007 5:39 PM
To: steve baker <[EMAIL PROTECTED]>
Subject: Re: [WiX-users] install path parsing?
steve baker wrote:
I would like to modify this (or find a better way :P) to now have the
installation remember the APPLICATIONDIR directory instead of the INSTALLDIR in
the directory hierarchy below so that when the next version is installed it
will give a default path with the same application directory but an versioned
INSTALLDIR.
Why not just write APPLICATIONDIR to the registry? Then point WIXUI_INSTALLDIR
to APPLICATIONDIR and "hard-code" the versioned 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