Billinghurst, David (CALCRTS) writes:
>>From: Vadim V. Zhytnikov
>>
>>[...]
>>
>>2). If we know 1) how do we feed this path into
>>Maxima configuration files. Into maxima.bat in
>>particular.
>>
>>I just have a brief look at InnoSetup documentation
>>and it looks like nether 1) nor 2) is possible without
>>external helper (post installation) programs.
>>Am I wrong?
>
>
> Some progress:
>
> I have worked out how to patch the installation path into
> maxima.bat using the InnoSetup scripting language. (Actually
> google found some example code that almost worked). I will
> commit this when I get home.
>
Very good.
> I have built a new installer, with gnuplot-4.0 binaries, and
> it all seems to do the right thing. To avoid confusion over
> version numbers I won't upload this yet, but the changes will
> be in beta2 if we have one.
>
> I am not going to look at spaces in paths. I have had enough
> of PCs for a while - time to play with gfortran on irix and
> to crawl under the house and lay some network cable.
>
InnoSetup Pascal Scripting language has built-in
function GetShortName which converts which should do
the trick (wrapper to Windows API function GetShortPathName).
--
Vadim V. Zhytnikov
<vvzhy@netorn.ru>