/build/static/layout/Breadcrumb_cap_w.png

Uninstall Custom Action for .Net 4.0

Hi ,

i am using the following CMD lines to uninstall the .Net Frame work 4.0, which are working when i ran them manually.

C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\SetupCache\Extended\setup.exe /uninstall /x86 /x64 /ia64 /parameterfolder Extended /q /norestart
C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\SetupCache\Client\setup.exe /uninstall /x86 /x64 /parameterfolder Client /q /norestart



i am trying to write an custom action to uninstall the .Net Extended and .Net Framework 4 ,

1. Execute the program from destination ,
2. I have placed the custom action just before the install finalize
3. Execute Normal Immediate/Differed
4. REMOVE~="ALL",
5 Synchronous wait until end of the sequences

the above custom action is not working, can any one please help me to do this task.

Thanks and Regards
Deepakkumar

0 Comments   [ + ] Show comments

Answers (3)

Posted by: anonymous_9363 13 years ago
Red Belt
0
.Net Framework extracts and executes several MSIs. You cannot run an MSI from within another MSI.

See '%SystemRoot%\Microsoft.NET\Framework\v4.0.30319\SetupCache\Extended' and '%SystemRoot%\Microsoft.NET\Framework\v4.0.30319\SetupCache\Client'
Posted by: deepakkumar 13 years ago
Orange Belt
0
when i did it for installation it works and installation successful. i have created the same custom action as mentioned above(created wrapper of MSI)
the cmd line --> .NetSetup.exe /passive /norestart.

is there any other way to uninstall the . net framework silently ?

Thanks and Regards
Deepakkumar
Posted by: chichora123 13 years ago
Fourth Degree Green Belt
0
http://blogs.msdn.com/b/astebner/archive/2008/08/28/8904493.aspx

Best tool for .Net uninstall. I've used it in our environment & it works like a charm. You can also do this silently
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