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 / 16072
16071  |  16073
Subject: 
Re: LSynth 3 available on kclague.net
Newsgroups: 
lugnet.cad
Date: 
Wed, 4 Mar 2009 22:37:58 GMT
Viewed: 
8075 times
  
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



Message has 2 Replies:
  Re: LSynth 3 available on kclague.net
 
(...) A note on those run-time libraries. LDView doesn't require them because I have selected Multi-threaded (/MT) as the Runtime Library on the C/C++ -> Code Generation preference section (instead of the default of Multi-threaded DLL (MD)). This (...) (15 years ago, 4-Mar-09, to lugnet.cad)
  Re: LSynth 3 available on kclague.net
 
(...) 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 (15 years ago, 5-Mar-09, to lugnet.cad)

Message is in Reply To:
  Re: LSynth 3 available on kclague.net
 
(...) 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. (...) (15 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