Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[udig-devel] [jira] Created: (UDIG-1663) HOMEDRIVE and HOMEPATH not defined for windows installer

HOMEDRIVE and HOMEPATH not defined for windows installer
--------------------------------------------------------

                 Key: UDIG-1663
                 URL: http://jira.codehaus.org/browse/UDIG-1663
             Project: uDIG
          Issue Type: Improvement
          Components: installing and running udig
    Affects Versions: UDIG 1.2.0
            Reporter: Jody Garnett
            Assignee: Jody Garnett
            Priority: Minor


So here is a tricky one.

I have just been testing in an environment where some of the environmental variables are not defined :-(

To review uDigInstallScript.nsi has:

CreateShortCut "$SMPROGRAMS\$STARTMENU_FOLDER\uDig.lnk" \
               "$INSTDIR\udig\udig.bat" "-data $\"%HOMEDRIVE%%HOMEPATH%\uDig\$\" -configuration $\"%APPDATA%\udig\VersionXXXX\$\" -vm $\"$INSTDIR\udig\jre\bin\javaw.exe$\"" \
               "$INSTDIR\udig\icons\32-uDigIcon.ico" 0 SW_SHOWNORMAL

Where the -data directory is set to "%HOMEDRIVE%%HOMEPATH%\uDig

Other options to consider:
- %APPDATA%\uDig
- %USERPROFILE%\uDig

Finally I find having this in a start menu to be a bit weak; I would like to move the logic into uDig.bat.

References:
- http://vlaurie.com/computers2/Articles/environment.htm
- http://help.eclipse.org/help32/index.jsp?topic=/org.eclipse.platform.doc.user/tasks/running_eclipse.htm


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


Back to the top