To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.cadOpen lugnet.cad in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 CAD / 16075
16074  |  16076
Subject: 
Re: LSynth 3 available on kclague.net
Newsgroups: 
lugnet.cad
Date: 
Thu, 5 Mar 2009 02:19:56 GMT
Viewed: 
9059 times
  
In lugnet.cad, Don Heyse wrote:
In lugnet.cad, Travis Cobbs wrote:
In lugnet.cad, Travis Cobbs wrote:
I would suggest asking the user to select the LDraw directory as
part of the setup process (in addition to the install directory).
I can't remember if InnoSetup makes this easy to do or not.

A quick glance at the InnoSetup help makes it appear that this will
require Pascal scripting of a new wizard page, which is unfortunate.
On the flip side, one of the InnoSetup examples (CodeDlg.iss) shows
how to create a custom wizard page.  You'd want the same thing, but
instead of recording user info, you'd allow the user to choose the
LDraw directory.  Presumably this would just be a message text
field, a text field to contain the path, and a Browse button that
would call InnoSetup's BrowseForFolder() function.

Cool, a new lsynth is finally grinding it's way through the release
process.  If it helps, I have a small executable using Lars' portable
LDrawIni.c code (same as used by ldview?) that finds the ldrawdir and
prints it out on the command line.  Maybe this could be adapted for
use by the installer to select a destination for the lsynth parts.

Also I have a compiler that should be able to build an lsynthcp.exe
that only links to msvcrt.dll so it works with all windows versions
with no annoying extra libs needed, just like all the utilities
Microsoft provides.  (Now if only they'd make an easy wizard option in
their compilers to do that...)  I'll have to kick my son off WOW for a
few minutes tonight to make sure it works on Vista, but everything
I've read says it should.  I think the current lsynthcp.exe in the
setup file calls itself version 3.0 beta H, so it should be rebuilt
without the beta tag for a real release anyhow.

Enjoy,

Don

I'd like the LDrawIni.c code and executable very much.  I'll cut a new release
once I've got the parts install stuff working.

I think the LSynth parts should go in unofficial.  Anyone object?

Kevin



Message has 3 Replies:
  Re: LSynth 3 available on kclague.net
 
(...) LDrawIni.c/LDrawIni....DrawIniP.h are all in the LDLoader directory of the LDView source tree. As far as I know, the files in LDView match the ones Lars has (although he may now have newer version). I was able to convince him to incorporate (...) (16 years ago, 5-Mar-09, to lugnet.cad)
  Re: LSynth 3 available on kclague.net
 
(...) You can find the LDrawIni.c code in the svn repository here: (URL) I can't seem to upload web page updates to the sourceforge. Apparently they changed things around again and I'm getting a "permission denied" error when I try to use scp. Oh (...) (16 years ago, 5-Mar-09, to lugnet.cad)
  Re: LSynth 3 available on kclague.net
 
(...) Kevin, if they go into Unofficial no call for MKlist is required since MLCad and LDView load them anyway when the paths are set. At this point you might think about a <LDrawDIR>\LSynth or <LDrawDIR>\Unofficial\LSynth folder. People using (...) (16 years ago, 5-Mar-09, to lugnet.cad)

Message is in Reply To:
  Re: LSynth 3 available on kclague.net
 
(...) Cool, a new lsynth is finally grinding it's way through the release process. If it helps, I have a small executable using Lars' portable LDrawIni.c code (same as used by ldview?) that finds the ldrawdir and prints it out on the command line. (...) (16 years ago, 4-Mar-09, to lugnet.cad)

43 Messages in This Thread:

















Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact

This Message and its Replies on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR