Installer Woes
Paul Mulroney
pmulroney at logicaldevelopments.com.au
Mon Jan 15 12:36:49 UTC 2024
Hi Das,
We use InnoSetup all the time for our Windows installations.
At the start of the script we make some vars to point to our source files:
> ; *** Setup the source folder for the Omnis Runtime tree
> #define OmnisRuntime "C:\Program Files\Omnis Software\OS 10.2 31315 RT"
In the [Setup] section of install script we have these lines:
> ; *** Set the deinstation folder for that application, usually inside the Logical Developments folder
> DefaultDirName={commonpf64}\LogicalDevelopments\LDPayroll
and then later on we reference {app} and it puts it in the right place eg
> [Files]
> ; Omnis runtime files
> Source: "{#OmnisRuntime}\*.dat"; DestDir: "{app}"
InnoSetup is really neat - we even registered a code signing certificate so our windows installers are codesigned.
Regards,
Paul.
> On 15 Jan 2024, at 3:17 am, Mike Matthews - Omnis via omnisdev-en <omnisdev-en at lists.omnis-dev.com> wrote:
>
> Excellent news :)
>
> Mike Matthews
>
> Lineal Software Solutions
> Commercial House, The Strand<x-apple-data-detectors://1/1> Barnstaple, Devon, EX31 1EU<x-apple-data-detectors://1/1>
>
> omnis at lineal.co.uk<mailto:mike.matthews at lineal.co.uk>
>
> www.lineal.co.uk<http://www.lineal.co.uk/>
>
> www.sqlworks.co.uk<http://www.sqlworks.co/>
>
>
>
> On 14 Jan 2024, at 17:59, Das Goravani <goravanis at gmail.com<mailto:goravanis at gmail.com>> wrote:
>
> Caution: This is a message which has originated from outside the organisation. Ensure the sender is trusted and the content is safe before opening links or attachments.
>
>
>
> Good News: I installed the latest Inno Setup Script Studio and remade my installer and this time it copied into the installer ALL the files that make up Omnis. Previously it was only doing some.
>
> It still has the problem of putting the exe main folder into Program Files x86 instead of just Program Files/Omnis Software…
>
> It doesn’t run right from there. I moved it after installation into Program Files/Omnis Software/Jyotish Studio 7.5/ and then it worked.
>
> So I have to wrangle with the script in order to get it to do that.
>
> They have this shortcut. {app}. That the script studio inserts for the path to the installed app. That is wrong because it is putting it in x86
>
> So just now I hardwired the destination to be Program Files\Omnis Software\Jyotish Studio 7.5\
>
> I am compiling it right now,
>
> Then I will run it and see if my changes work.
>
> That’s where I’m at right now.
>
> I’m hoping that my hardwiring of the destination folder works. I am not that savvy with Inno Script Studio but I am learning.
>
> It’s really a very powerful and nice Setup Installer Making Program and it’s free.
>
> I tried Advanced Installer yesterday but was put off by their price.. $399 a year or $599 perpetual. That’s too much for little old me.
>
> Their program I used in demo free mode yesterday and it too put Omnis into the x86 folder from where it does not link to the AppData folder correctly and so you get all kinds of errors upon launch and then it just doesn’t run.
>
> This is all very strange because Inno Script Studio has always worked before. I have made a number of Windows installers with it and it always previously put Omnis folder into Program Files\Omnis Software correctly and everything ran. This time, it had the bugs of not including all files and folders and putting the program into x86 instead. So I am working out those two bugs.
>
> The reinstall of Inno Script Studio seems to have handled the inclusion bug.
>
> Now I am waiting to see if my hard coded destination path works. We’ll see in just a few minutes.
>
> Typing Later Now…
>
> It worked !!! I now have a new Windows Installer that works !!!
>
> I’m happy now..
>
> Das Goravani
> _____________________________________________________________
> Manage your list subscriptions at https://lists.omnis-dev.com
> Start a new message -> mailto:omnisdev-en at lists.omnis-dev.com
>
> _____________________________________________________________
> Manage your list subscriptions at https://lists.omnis-dev.com
> Start a new message -> mailto:omnisdev-en at lists.omnis-dev.com
Q: Why do seagulls live near the sea?
A: Because if they lived near the bay they'd be bagels.
--
Paul W. Mulroney We Don't Do Simple Pty Ltd
pmulroney at logicaldevelopments.com.au Trading as Logical Developments
www.logicaldevelopments.com.au ACN 161 009 374
Ph: +61 8 9458 3889 86 Coolgardie Street
BENTLEY WA 6102
More information about the omnisdev-en
mailing list