PDA

View Full Version : Install location



Steve S
06-27-2005, 10:35 AM
Hi,

I have a component that I need to install to a user given destination that may or may not be under [INSTALLDIR].

By default it the install location is [INSTALLDIR] so in setup design the components destination is set to {EXTRA} [INSTALLDIR]EXTRA

After the user has choosen a location for the extra files I am setting the value of EXTRA to be the users choosen path using an installscript custom action. I know this is working correctly has I have checked the values with message boxes during the install.

The problem seems to be that whatever I change the location of the extra files to, say d:\New Folder\Extra it will install the files to d:\New Folder and create a folder in there called Extra?? It does the same if the path is under INSTALLDIR.

Anyone any ideas im willing to try anything else to get this to work if my method seems a bit pants!

aviswanathan
06-28-2005, 09:33 AM
I know this might sound dumb, but did you actually try to save it in a custom location without the "Extra" in the path? :)

Arun