Archive: Getting previous installtion directory


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


In .onInit will do.
Just ReadINIStr $INSTDIR ...

Stu


Thanks a lot. But I already found this suggestion by myself.