Hi,
If user installing the setup into different location than default location. The setup is unable fetch the installed folder while repairing.
The INSTALLDIR property is holding the default installation path. If the user is installing different location than default path, this INSTALLDIR property is reseting back to default path. Because of this setup is not able to find the installed path properly and failing to repair.
Any body knows why the property value is resetting, is there any method to hold this value, which can be used while repair.
thanks a lot for help
krishna.s
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.
How to get the installation path while repair
Started by
kittu_s
, Oct 20 2005 14:35
5 replies to this topic
Posted 20 October 2005 - 20:09
Do you have any component that installs directly to INSTALLDIR, not a subdirectory thereof?
Stefan Krüger
InstallSite.org twitter facebook
Posted 21 October 2005 - 09:06
Thanks for your response.
We are not installing any component directly ubder INSTALLDIR.
Is it the only option for getting the INSTALLDIR property while repairing.
If any other option please let me know without using registry.
Thanks
Krishna.S
We are not installing any component directly ubder INSTALLDIR.
Is it the only option for getting the INSTALLDIR property while repairing.
If any other option please let me know without using registry.
Thanks
Krishna.S
Posted 23 October 2005 - 15:04
If you install a component to INSTALLDIR I believe it will be preserved automatically. If not, yu can:
- read INSTALLDIR from registry (if you properly set ARPINSTALLLOCATION during installation)
- store it elsewhere (an INI file for instance)
- read the install location of a component, in the form [$componentkey] for instance, and extract INSTALLDIR from it.
- read INSTALLDIR from registry (if you properly set ARPINSTALLLOCATION during installation)
- store it elsewhere (an INI file for instance)
- read the install location of a component, in the form [$componentkey] for instance, and extract INSTALLDIR from it.
Stefan Krüger
InstallSite.org twitter facebook
Posted 23 October 2005 - 16:57
I guess you could also use the AppSearch feature of windows installer to search for a file signature (combination of file name, file version, file size etc...). Windows installer could then set a property based on the search.
Regards
-Stein Åsmul
-Stein Åsmul