简体   繁体   中英

VS 2010 Set up project - Installing exe through custom action

I'm creating a set up poject using VS 2010 . One of the third party exe should be installed through the custom action. I have done this and works fine. But requirement is to

1) First time when MSI is installed this exe should also be installed in target machine.(Added custom action under Install)

2) When the project is uninstalled this third party exe should not be uninstalled.(So basically no uninstall custom is needed for this exe)

3) If user uninstall the application and re-install again there should be a custom actionto check if the thirt party exe is alredy installed. if not, install else dont.

How can i do this ?

自定义动作

3) Check the registry value, or the default install location.

2) Windows installer < 4.5 (<4.5 is practically everywhere) can't chain.

1) See 2.

Visual Studio 2012 drops setup projects completely anyway, so you won't need to rewrite.
(Hint) I wouldn't waste your time using InstallShield 2012 LE (VS 2012 default).

That's why I recommend you create your setup project with
http://www.advancedinstaller.com/

The freeware edition suffices.
Here's an edition overview:
http://www.advancedinstaller.com/purchase.html

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM