FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Installation overwrites dmd path locations in makelib.bat

 
Post new topic   Reply to topic     Forum Index -> DFL
View previous topic :: View next topic  
Author Message
Lynn



Joined: 27 Aug 2004
Posts: 89

PostPosted: Tue Apr 26, 2005 9:35 am    Post subject: Installation overwrites dmd path locations in makelib.bat Reply with quote

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
View user's profile Send private message
Chris Miller



Joined: 27 Mar 2004
Posts: 514
Location: The Internet

PostPosted: Tue Apr 26, 2005 10:54 am    Post subject: Re: Installation overwrites dmd path locations in makelib.ba Reply with quote

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 Smile
Back to top
View user's profile Send private message
Lynn



Joined: 27 Aug 2004
Posts: 89

PostPosted: Tue Apr 26, 2005 11:37 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic     Forum Index -> DFL All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group