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

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.

Answers

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'
Answered 02/01/2011 by: VBScab
Red Belt

Please log in to comment
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
Answered 02/01/2011 by: deepakkumar
Orange Belt

Please log in to comment
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
Answered 02/02/2011 by: chichora123
Fourth Degree Green Belt

Please log in to comment
Answer this question or Comment on this question for clarity