Page 1 of 1

Get Folder Location on Win9x

Posted: Fri Aug 11, 2006 8:21 am
by MarkRichards
I'm currently running some installation tests, and I'm finding that Get Folder Location isn't working properly for me on Win9x operating systems (I'm mostly testing with Windows ME).

Here's my command sequence:

Set Variable STARTUPFOLDER to
Get Common Folder Location Start Menu->Startup Group into STARTUPFOLDER
Create Shortcut $STARTUPFOLDER$\\My App to $TARGETDIR$\\MyApp.exe

This works perfectly fine on Windows XP and Windows 2000. Unfortunately, it seems to fail entirely on Win9x based operating systems, apparently because the STARTUPFOLDER variable isn't being populated correctly.

This is pretty critical for me; any thoughts on a work-around would be most welcome.

- Mark R.

Posted: Fri Aug 11, 2006 4:40 pm
by MichaelNesmith
On Windows ME, the command obtained paths for both All Users and Just Me. On Windows 98, the command obtained paths for Just Me only, and All Users was blank. The reason is that earlier 9X operating systems do not have support for "All Users", hence the command returns an empty string.

Just uncheck the "Get For All Users" field in the Get Folder Location command.