peter.swallow
peter.swallow

Reputation: 945

Call a .Net DLL during wizard dialogs in Advanced Installer

I'm using Advanced Installer and I need to call a .NET DLL to get a list of items which I want to display in a Listbox in a Wizard Dialog, before anything gets installed.

I intend to call the .NET method from powershell and return the data, which I've tested with a hardcoded path to the DLL on the local system.

The problem is, that this file doesn't get copied onto the local file system until the very start of the Installation itself. So I need a way to deploy that file very early on.

How can I do this?

Upvotes: 1

Views: 117

Answers (1)

herman.smn
herman.smn

Reputation: 1347

Advanced Installer has an option to add your DLL as temporary file in "Files and Folders" page. Just add the DLL as temporary file and then call it from your custom action. Temporary files are copied on local system before the wizard dialogs appear.

Upvotes: 1

Related Questions