/bundles/itninjaweb/img/Breadcrumb_cap_w.png
Hallo, I'm a newbie and need urgent help with AppSearch.
I use Wise Installation Studio 7 SP1.
I made my installer with several features. Everything works 100% while installing with Custom Actions and Uninstalling to keep System clean.
I work pretty much with cmdlines to delete files and folders during uninstall. Everything works ok.
The issue. I have a feature called for example 123. But the software is already installed by a third party installer (NSIS). The uninstaller of NSIS is called 123-uninstall.exe.
I want to call the 123-uninstall.exe before installing my features with my installer.
How can I manage this?
For this I really need a step by step, because I never worked with AppSearch and the depending CustomActions for it.

Please help me and thanks in advance...
0 Comments   [ - ] Hide Comments

Comments

Please log in to comment

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
Answer this question or Comment on this question for clarity

Answers

0
This should get you started: http://itninja.com/blog/view/appdeploy.com->-training-videos->-windows-installer-appsearch-(wise-system-search)
Answered 06/08/2009 by: bkelly
Red Belt

Please log in to comment
0
That was very useful. Eveything works. But the problem is how to call the 123-uninstall.exe. I don'know the further steps.
If the user selects the feature 123 for installing then the 123-uninstall.exe must be called to uninstall the version the NSIS Installer installed before?
Answered 06/08/2009 by: McRip
Orange Senior Belt

Please log in to comment
0
- Select 'MSI Script' view
- Select the 'Execute Deferred' tab
- Highlight the line beneath the 'InstallInitialize' action
- Double-click the 'If Statement' option in the 'Actions' list
- Assuming the feature is called '123', enter:
NOT Installed AND &123 > 2
Assuming that the property name used to "collect" the result of the AppSearch is called UNINSTALL123 and that it includes the EXE name:
- Double-click the action 'Execute Program From Destination'
- Enter a meaningful name as the action name.
- Use the 'Browse' button to select a directory from the installation. I normally use SystemFolder.
- In the text box 'EXE and Command Line', enter:
[UNINSTALL123]
- Click 'OK'
- Compile
- Test
Answered 06/08/2009 by: VBScab
Red Belt

Please log in to comment
0
VBScab. Thanks a lot! Never thought it is that easy. It works great! [:D]
Answered 06/10/2009 by: McRip
Orange Senior Belt

Please log in to comment
0
I said it works great but...
if I use the 'Execute Deferred' tab, as you said, the files will get uninstalled after my files got installed. So I did a workaround and now it looks like this:

I changed to the 'Execute Immediate' tab
NOT Installed 123=3 (It's different from yours. Yours doesn't work for me)
Highlight the line beneath the 'InstallInitialize' action
Custom Action Name: 123_UNINSTALL
Working Directory: SystemFolder
EXE and Commandline: [UNINSTALL123] /S (silent uninstall)
Proccessing: Ignore exit code


And this workaround works amazing...

Cheers
Answered 06/14/2009 by: McRip
Orange Senior Belt

Please log in to comment
0
NOT Installed 123=3 I presume this is a typo, as it makes no sense like this. Did you mean 'NOT Installed &123=3'?
Answered 06/15/2009 by: VBScab
Red Belt

Please log in to comment
0
Sorry for that. Of course I meant 'NOT Installed &123=3'.

And this is working for me and on every machine from Win 2000 up to Win 7.

Cheers
Answered 06/15/2009 by: McRip
Orange Senior Belt

Please log in to comment