Hi all,
Quick question... In cases where our users are using Citrix, they often don't have a "C" drive. We don't want our product under Program files, so I'm wondering what variable I can use in lieu of PROGRAMFILES. It looks as if BOOTUPDRIVE may return the default drive of the system. Is this the case, and if so can I use it instead of hard-coding "C:\\"? Thanks!
Christina
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.
BOOTUPDRIVE?
Started by
cswarwick
, Oct 22 2002 22:11
1 reply to this topic
Posted 23 October 2002 - 08:31
Hi Christina,
BOOTUPDRIVE just returns the drive letter where the windows system booted from. If someone has the boot partition placed on, let's say, drive F: then BOOTUPDRIVE names this drive (precisely, it will return 6 as a number since F is the sixth letter [starting with A as the first one] - see help system). Convert it to a character, add your desired target location and assign it to TARGETDIR.
I'm not quite sure if this will answer your question?
Eberhard
BOOTUPDRIVE just returns the drive letter where the windows system booted from. If someone has the boot partition placed on, let's say, drive F: then BOOTUPDRIVE names this drive (precisely, it will return 6 as a number since F is the sixth letter [starting with A as the first one] - see help system). Convert it to a character, add your desired target location and assign it to TARGETDIR.
I'm not quite sure if this will answer your question?
Eberhard