Get Folder Location on Win9x

Got a problem you cannot solve? Try here.
MarkRichards
Posts: 47
Joined: Tue Apr 18, 2006 8:39 am

Get Folder Location on Win9x

Postby MarkRichards » Fri Aug 11, 2006 8:21 am

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.

MichaelNesmith
Posts: 3452
Joined: Thu Dec 22, 2005 7:17 pm
Contact:

Postby MichaelNesmith » Fri Aug 11, 2006 4:40 pm

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.
Michael Nesmith
InstallAware
Home of The Next Generation MSI Installer
Get your free copy today - http://www.installaware.com/


Return to “Technical Support”

Who is online

Users browsing this forum: No registered users and 235 guests