Matching Start In folder with Target
Hey, I'm a bit of a newbie here, so I hope I won't get flamed too badly for asking this question here :)
Ok, I'm trying to install two applications with a single installer. I want them to have the same root folder $INSTDIR(C:\Program Files\My Game Bundle), where Game1 would be
$INSTDIR\Game1
and Game2 would be
$INSTDIR\Game2
The game files for each game would be in their respective directories, with the uninstaller lying in the top level folder($INSTDIR). While I can get the files copied to the correct location, the problem I'm having is with the shortcuts. With windows shortcuts, you have a "Target" path which links directly to the executable. The "Start In" shortcut links to the top level folder, $INSTDIR. This doesn't work out correctly with Game1, which needs to point directly at the folder in which the exe is located(it has to do with the way the game engine looks for files). How do I make the "Start In" folder point at the same folder the "Target" path is at?
Yes, I did try searching for this too...but otherwise, have mercy :)