hi,

i am repackaging Dreamweaver 8.0. I am through will all the repackaging procedures, but the problem is that i wish to remove DreamweaverMX6 if installed on the target system. Since DreamweaverMX6 is a setup based application i have deployed the uninstall string and modified it to execute in silent mode.

I prepared a script and it works absolutely fine. All i wanted to know is that is there any way by which i can embed the script in the Dreamweaver8.0 MSI? before installing 8.0, it would remove MX6, just as it does while executing the remove existing product action, when there is an MSI to be removed.

I tried using the custom action "Call VBS from embedded code" but this doesnt work because i am using Shellobj.run(uninstallstring) command, which doesn't run with vbs embedded within the MSI.

I have developed 2 workarounds to this, but i want to make this scenario work. That is i want to uninstall the MX6 from within the MSI of 8.0

Can anyone suggest me a way to do it. I shall be much obliged.

thanking you,

regards,
Tushar singh
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

-1
Hi Tushar,
there is no need for a script for this simple task.
Just use a CustomAction of type 50 (exe with a path property) and put your uninstall command line into the target column.
If you like to work further on your script, be aware of the special calling syntax of the shell object in a installer vbs:
(Wrong, used in 'normal' VBS): Set WshShell = Wscript.CreateObject("Wscript.Shell")
(Right, used in 'inline MSI-VBS): Set WshShell = CreateObject("Wscript.Shell")
Hope this points you in the right direction.
Regards, Nick
Answered 10/30/2006 by: nheim
Tenth Degree Black Belt

Please log in to comment
0
Did you typo nheim? ;)
Set WshShell = CreateObject("Wscript.Shell")
Answered 10/30/2006 by: AngelD
Red Belt

Please log in to comment
0
Hi AngelD,
no it's worse: Copy/Paste from the wrong file: Shame on me! :-(
But furtunately, there is an Angel(D) watching our writing closely enough to point us in to the right direction. :-)
Keep it going like this.
Regards, Nick
Answered 10/31/2006 by: nheim
Tenth Degree Black Belt

Please log in to comment
0
Haii All,

I want to ask about how to remove a program through UninstallString dreamweaver in registry by using vbs and I made ​​a script but it is still wrong to be fixed please .. 

Wscript.Echo "Uninstalling 'Adobe Dreamweaver CS6'"

I want to ask about how to remove a program through UninstallString dreamweaver in registry by using vbs and I made ​​a script but it is still wrong to be fixed please .. 

WScript.Echo "Uninstalling 'Adobe Dreamweaver CS6'" 

Dim objShell 
Set objShell = WScript.CreateObject ("WScript.Shell") 
objShell.Run ("" "C: \ Program Files (x86) \ Common Files \ Adobe \ OOBE \ PDApp \ core \ PDApp.exe --appletID = DWA_UI --appletVersion = 2.0 --mode = Uninstall --mediaSignature = {A4ED5E53-7AA0-11E1-BF04-B2D4D4A5360E} "" "), 1, True 
Set objShell = nothing 


thank you




thank you
Answered 09/12/2014 by: Toni
White Belt

  • Why not start a separate thread rather than hijacking another member's thread? Anyway, what operating system are you running under and is the uninstall being triggered by a user, an elevated user, or a system account such as via Kace?
    Finally, there are unnecessary spaces in the script you have posted - this will break the script. Is this a typo?
Please log in to comment
Answer this question or Comment on this question for clarity