I have a program that current installs on the d:\application folder fine
I need it to now install in a different folder depending on the users input at a custom user interface dialog.
The user will select a box, then choose "next" which will cause the install directory to become
c:\test[x] where [x] is the appropriate number according to their choice
Here is what my dialogue consists of
1. Comob box (property name is env) containing the following items
test1 whose value I set to c:\test1
test2 whose value I set to c:\test2
test3 whose value I set to c:\test3
test4 whose value I set to c:\test4
2. A Next Button
in the behaviour for the next button I put
Event Argument Condition
--------------------------------------------------
[env] INSTALLDIR 1
EndDialog RETURN 1
This doesn't work.... any ideas?
This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.
User Interface to control Install Dir
Started by
bbcac
, May 07 2007 17:09
1 reply to this topic
Posted 09 May 2007 - 11:54
QUOTE |
[env] INSTALLDIR 1 |
This is equivalent to:
env = INSTALLDIR
You want the opposite:
[INSTALLDIR] [env] 1
However this would only set INSTALLDIR but not any subdirectories. So you also should call the SetTargetPath control event.
Stefan Krüger
InstallSite.org twitter facebook