Shortcut to check if another program is installed and act - Advanced Installer Community

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!

srikat
Posts: 4
Joined: Thu Aug 03, 2006 7:37 am

Shortcut to check if another program is installed and act

Hello there,

I've created a installer using AdvancedInstaller and it works fine. It will basically copy one Demo.exe file along w/ few others to a certain location in the user's system. I've placed a shortcut on the desktop that points to this Demo.exe. Fine and good.

Now I want to place one more shortcut that will point to Demo.vdl (another file that's copied to the user's comp). Demo.vdl is basically a wrapper that will contain/house Demo.exe. The wrapper program is called 'Demo Launchpad' (or simply Launchpad).

What I want is this:

If this Launchpad is already installed on the user's machine, simply run Demo.vdl.

If Launchpad doesn't exist, the user should be prompted with a dialog/window from where he can find the link to install the Launchpad. This dialog window should also indicate that the user can run the non Launchpad version (i.e., Demo.exe). How do I do this part? Any help would be greatly appreciated.

Thanks a lot.
Ionut
Posts: 605
Joined: Tue Nov 22, 2005 11:29 am
Contact: Website

Hi,

For this, you would need to create a small application that checks whether "Launchpad" is installed and then perform the appropriate actions.

Regards,
Ionut
Denis Toma
Advanced Installer Team
http://www.advancedinstaller.com/
srikat
Posts: 4
Joined: Thu Aug 03, 2006 7:37 am

Exactly. Is it possible to do this small LaunchpadChecker.exe kind of program using AdvancedInstaller?

If so, can you briefly summarize the steps pls?
jbridges
Posts: 38
Joined: Fri Jun 09, 2006 12:36 am

Use AutoIt3

The question you are asking is "Can Advanced Installer" create a small application for me? That's asking a lot of an installer.

However, I understand your need. I have found an excellent "helper" for Advanced Installer and, indeed for many tasks. Look for for AutoIt3 on the web. This is true amazing freeware. Easy to use to create a script that will do what you want ... and then compile it into an executable which you can launch with the Advanced Installer.

I can't say enough good things about AutoIt3 - and I don't get paid for it :)
Ionut
Posts: 605
Joined: Tue Nov 22, 2005 11:29 am
Contact: Website

Hi,

AI is a MSI package authoring tool and cannot be used for this kind of task. Use any programming language and development environment you are familiar with (Visual C++, C++ Builder, Delphi etc).

As jbridges has mentioned, I also encourage you to use AutopIt - it is an excellent and easy to learn scripting language. More information here: http://www.autoitscript.com/autoit3/

Regards,
Ionut
Denis Toma
Advanced Installer Team
http://www.advancedinstaller.com/

Return to “Common Problems”