Dreamweaver 8.0 Repackaging issues
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
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
Answers (4)
Please log in to answer
Posted by:
nheim
17 years ago
Posted by:
Toni
9 years ago
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
Comments:
-
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? - EdT 9 years ago
Posted by:
nheim
17 years ago
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
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
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
so that the conversation will remain readable.