PDA

View Full Version : Modify INSTALLDIR w/DLL not respected for directories?



Pparisi
05-17-2007, 03:14 PM
We are working with InstallShield Express 12 and are trying to implement a classic DLL to modify the INSTALLDIR folder as part of the installation.

The DLL checks with the Service Manager for some installed services and depending on what is found sets the INSTALLDIR.

This seems to work only partially. During the installation files in the root INSTALLDIR are copied to the proper location. Subdirectories are NOT being created under the newly set INSTALLDIR, but are created under the initial INSTALLDIR path. We want to have the entire INSTALLDIR folder and subordinates installed at the new INSTALLDIR location.

Any ideas on why changing INSTALLDIR does not seem to be working as expected?

Thanks in advance!!!
Paul

microbrain
06-11-2007, 03:32 AM
Hi Paul,

The same thing we do in our project. But I use VbScript to Change INSTALLDIR location. Using Session.Property("INSTALLDIR") = <Installation Location>.

This works perfectly in WinXp SP2 but it is not working in Win 98.

Sanjay Shah