/build/static/layout/Breadcrumb_cap_w.png

Msi hangs on uninstall

UPDATE

I found out my problem! It was an embedded VBscript Call that was hanging since it needed to write to the file that was unavailable. I simply added one If statement and it's now works great.

[hr]

Hi guys!

I need your help.

I created a package where I use System Search to find a file. If the file is not found I cancel the installation.

When I install my package and that the file is there the installation goes on and completes and when the file ins't the installation is cancelled with a custom message which is what I want.

So here come's my problem.

Before uninstalling If I rename or delete the file being searched the uninstall hangs and goes forever even if I press Cancel

The last lines on the verbose log file are:
[blockquote]Action ended 08:07:01: PublishFeatures. Return value 1.
Action start 08:07:01: PublishProduct.
MSI (s) (F4:70) [08:07:01:652]: Skipping action: ScheduleReboot (condition is false)
MSI (s) (F4:70) [08:07:01:652]: Doing action: Action
Action ended 08:07:01: PublishProduct. Return value 1.

[/blockquote]And also can see in the log file that the AppSearch as been skipped.
[blockquote]MSI (s) (F4:70) [08:06:57:850]: Skipping action: AppSearch (condition is false)[/blockquote]
Then I tried to put the file back where it should be then the uninstall goes smoothly.

Any ideas?

Thanks,
Nelson

0 Comments   [ + ] Show comments

Answers (4)

Posted by: captain_planet 15 years ago
Black Belt
0
Are you sure it's an AppSearch issue? Maybe to see if it is an issue with the AppSearch mechanism, try conditioning the AppSearch action (In InstallExecuteSequence table and InstallUISequence table) to only run on installation of the product?
Posted by: anonymous_9363 15 years ago
Red Belt
0
Exactly. What condition(s) have you applied to the AppSearch action?
Posted by: dunnpy 15 years ago
Red Belt
0
I was just going to suggest the same as Captain_Planet.

Along with the other suggestion - don't delete/rename the file that is being searched [:D]

Dunnpy
Posted by: nbarradas 15 years ago
Yellow Belt
0
"Along with the other suggestion - don't delete/rename the file that is being searched " .... LOL

I found out my problem! It was an embedded VBscript Call that was hanging since it needed to write to the file that was unavailable. I simply added one If statement and it's now works great.

Thanks for your quick replies.
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ