|
|
#1 |
|
Junior Member
Join Date: Jul 2007
Posts: 5
|
Getting previous installtion directory
Hello
How can I get previous installtion directory without using InstallDirRegKey option? My suggestions are: 1) Create install.ini in first installation 2) Second installation 3) If file install.ini exists read it and get the string 1 - 3 have write !macro 4) Push install string to “Destination†4 - How can I implement it? (Where I should insert my macro?) Thanks, Igor |
|
|
|
|
|
#2 |
|
Moderator
Join Date: Nov 2002
Location: Surrey, England
Posts: 8,434
|
In .onInit will do.
Just ReadINIStr $INSTDIR ... Stu |
|
|
|
|
|
#3 |
|
Junior Member
Join Date: Jul 2007
Posts: 5
|
Thanks a lot. But I already found this suggestion by myself.
|
|
|
|
![]() |
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|