Opened 14 years ago

Closed 3 years ago

#13 closed enhancement (worksforme)

Local Package Directory not set to %TEMP% - often uses inappropriate directories

Reported by: moovida Owned by: osgeo4w-dev@…
Priority: minor Component: Installer
Version: Keywords:


During the setup, when the Local Package Directory has to be selected, the proposed folder is C:\Programmi\Mozilla Firefox. Why is Mozilla firefox proposed? I assume that come from some variable, anyway it is not a nice choice.

Change History (4)

comment:1 by Mike Taves, 13 years ago

I had this too, but I realized it was because I double-clicked the installer from Firefox's "Downloads" window, which I guess sets the current working directory for the installer to be the same as the parent application (Firefox).

If you double-clicked the installer from Windows Explorer in the location where it downloaded (e.g., Desktop) then the local package directory will be based from that location.

I'd expect the local package directory to default to the same directory as the installer, not the app work directory.

E.g., path to installer: C:\Documents and Settings\User\Desktop\osgeo4w-setup.exe ... should use a default local package directory: C:\Documents and Settings\User\Desktop

I'd expect this to be a simple fix, except I don't know where to look.

comment:2 by (none), 13 years ago

milestone: Beta Release

Milestone Beta Release deleted

comment:3 by Mike Taves, 13 years ago

Summary: "Local Package Directory" set to C:\Programmi\Mozilla FirefoxLocal Package Directory not set to %TEMP% - often uses inappropriate directories

This problem shouldn't be too difficult to fix, but I just can't understand trunk/setup/ since it is uncommented.

A Windows user's temporary directory is found using the system variable %TEMP% (run this from the Start menu, and the folder will be brought up). For example, on my WinXP computer, this is C:\DOCUME~1\STATIO~1\LOCALS~1\Temp, but this changes for each platform/user. There are benifits to using this directory, namely that it gets "cleaned up" by the OS periodically and is transparent and "hidden" from the user.

How can the default for the local package directory be changed in trunk/setup/ to be set to %TEMP% ?

comment:4 by jef, 3 years ago

Resolution: worksforme
Status: newclosed
Note: See TracTickets for help on using tickets.