0
votes

im totally new to creating installers using Inno Setup and i have managed to create an installer of my current project.

My problem is, is it possible to create another directory for the necessary dlls that will be used by the system?

for example, my project was built using PowerBuilder and PB apps need PB runtime dll and should be either located at the APP ROOT FOLDER or in C:\Program Files\Sysbase\Shared folder.

can i create a script in inno setup where the runtime dlls will be placed in C:\Program Files\Sysbase\Shared

thanks for the help!

1
PowerBuilder (at least quite old version 9) doesn't need libraries in that path. Read the section titled by When deploying them to the end-user machine, they can be placed in one of three locations in this article. - TLama

1 Answers

0
votes

I use Inno Setup. To install to a folder under the install folder:

Source: "C:\PBSource...\SubFolder*"; DestDir: "{app}\SubFolder";

The constant {pf32} is the 32bit Program Files folder. You could have DestDir as:

{pf32}\Sybase\Shared\PowerBuilder

The one issue I see with this is what if your app user doesn't have the PowerBuilder IDE installed? If the app user always has the PB IDE, this will work ok.

One thing to note: Inno Setup doesn't have a function to update the system path. I have asked them to add one but the developer and the more vocal users on the forum have a philosophical aversion to changing the path so he won't do it.