We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

BillM
Posts: 20
Joined: Thu Jan 08, 2015 3:35 pm

Getting Started

Using AI 12.3.1.

I come from Wise for Windows Installer. I have a complex setup that I authored 5-10 years ago and need to recreate it in AI. This project includes regular Win32 binaries, .NET components and kernel drivers installed via INF files. While I have a fairly good grasp of MSI, I'm totally green when it comes to AI.

Right off the bat, I'm confronted with a template screen that I'm not sure which option to select. Considering my project above, should I be using a .NET Application template or a generic one? My project has a little bit of everything. With Windows Installer setups, you have to get it right the first time (especially when it comes to upgrades.)

Can anyone point the way?

Thanks in advance.
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: Getting Started

Hello,

From the Start Page you should use the Enterprise generic template in order to use the driver support.

In order to install a driver, please follow the steps from the How do I install a driver? article.

If your package requires a certain version of the Net Framework to be present on the target machine, then you can add the .Net Framework as a Prerequisite.

Since you are new, I highly recommend you read our tutorials for a better understanding of how to use Advanced Installer to efficiently deploy your products. This will also help you better understand support team's suggestions now and in the future. The Simple and Professional tutorials are especially important. You can also take a look on the Learning Advanced Installer - Resources forum thread to learn more about Advanced Installer.

Should there be any difficulty you encounter implementing something, please do not hesitate to contact me and I will gladly assist.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
BillM
Posts: 20
Joined: Thu Jan 08, 2015 3:35 pm

Re: Getting Started

Thanks. I'm making some decent progress now. Next sticking point...

Wise had a custom action type called Call Custom DLL From Installation which would let you pick a DLL to package with the setup, and it would be extracted and called and then deleted - never installed. This action allowed you to specify arguments and return types. I can't seem to find a similar action in AI. There is the standard DLL action, but it wants an installed file. The attached dll action doesn't let you specify arguments or returns. Am I missing something?
BillM
Posts: 20
Joined: Thu Jan 08, 2015 3:35 pm

Re: Getting Started

*bump*
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: Getting Started

Hello,

For this, you can use the predefined Call function from standard DLL. This custom action allows you to call a function with any signature. Note that the dll file from which the function is called must be included in the application files. You can do this in the Files and Folders Page by either adding it as a regular file or as a temporary file.

Please let me know if you need any help.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
BillM
Posts: 20
Joined: Thu Jan 08, 2015 3:35 pm

Re: Getting Started

That won't work for me as I need to invoke a function before any of the project files get installed. Damnit. Always something.
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: Getting Started

Hello,

In this case, you can add the .dll file as a Temporary File. Please note that the temporary files are copied during the CostFinalize standard action, at the beginning of the setup and removed during the InstallFinalize standard action.

The standard actions used by Advanced Installer can be revealed using the Show Standard Action button on the toolbar of the Custom Actions page.

Should there be any difficulty you encounter implementing something, please do not hesitate to contact me and I will gladly assist.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Building Installers”