View previous topic :: View next topic |
Author |
Message |
Lynn
Joined: 27 Aug 2004 Posts: 89
|
Posted: Tue Apr 26, 2005 9:35 am Post subject: Installation overwrites dmd path locations in makelib.bat |
|
|
Something to consider ... perhaps have makelib.bat "call" another batch file such as "MyDmdLoc.bat". The current makelib.bat overwrites any makelib.bat that the end-user has revised.
makelib could check for the existence of "MyDmdLoc.bat" and "call" it if it exists. Otherwise it might give a usage message and fail to proceed.
Or it could check if dmd.bin actually exists where the location points ... then it would accept the default of d:\dmd ... probably won't be there.
Or your installer might be intelligent enough to make a MyDmdLoc.bat unless one already existed.
It is one of the hassles of installing a new dmd.zip that the sc.ini can get overwritten. |
|
Back to top |
|
|
Chris Miller
Joined: 27 Mar 2004 Posts: 514 Location: The Internet
|
Posted: Tue Apr 26, 2005 10:54 am Post subject: Re: Installation overwrites dmd path locations in makelib.ba |
|
|
Lynn wrote: | Or your installer might be intelligent enough to make a MyDmdLoc.bat unless one already existed. |
I was just thinking about something like that today |
|
Back to top |
|
|
Lynn
Joined: 27 Aug 2004 Posts: 89
|
Posted: Tue Apr 26, 2005 11:37 am Post subject: |
|
|
I"ve got a fair amount of experience with the NSIS installer. It can remember what directory was selected for the original installation, use that for updates, do uninstalls, and detect and not overwrite files.
Would only apply for windows, and probably overkill for a library ... but it does add a touch of polish for those considering whether the effort to get up to speed with a piece of software is justified. |
|
Back to top |
|
|
|