View Full Version : Generic shortcuts and INSTALLDIR ending with '\'

10-21-2003, 08:03 AM

1. How do I enter generic shortcuts (i.e. not tied to a feature)? I want to add a URL pointing to where a webapp is installed, and can't figure out how to do it.

2. The INSTALLDIR sometimes ends with a '\' causing a lot of trouble for internal service insallation scripts etc. How do I make sure that INSTALLDIR does not end with a '\'? Why would it do this in the first place?




10-21-2003, 08:20 AM

1. I never bothered with adding shortcuts in the UI, because of the lack of customization. I always use the function AddFolderIcon().

2. StrRemoveLastSlash()

10-21-2003, 04:28 PM
1. If you don't want to associate it to any feature, you will have to do it in a script, InstallScript, VBScript, or whichever language you are comfortable with.

2. The trailing backslash is added as directories are resolved during CostFinalize action. You will have to strip the trailing backslash yourself after CostFinalize action.

kk sonu
10-22-2003, 02:16 AM
for url

i think u need this

create a .url extension file and add these lines


hope this is wht u need..