CutePDF Silent UNinstall
I am looking for a way to silent uninstall cutepdf v2.8. "Setup64.exe /uninstall" will present a promt.
Thank for the help. This is my first post on the new site. Please let me know if i am posting in a wrong section?
Answers (8)
Install works fine. Looking for Uninstall cmd. Has anyone tried to create an msi? I get a CutePDF printer but looks like its disabled. And when i try to print to it, its not offering to save a pdf as a vendor install does.
Comments:
-
Yes we can create msi.Look for printter option setting to enable the printer or you might be deleting the files which are required for the printer. - Visalakshi 11 years ago
Has anyone created an msi for version 2.8? I am getting an icon in Printers but its telling me that the driver is missing. After taking a shapshot.
Comments:
-
Check the MSI and make sure the full set of files from [systemfolder]\spool\drivers\w32x86\ and [systemfolder]\spool\drivers\w32x86\3 are in the MSI.
You'll also need to package GhostScript if you didnt already. I would recommend packaging them separate, so they can be updated independently.
Then restart spooling service.
See the notes under research - the info is still applicable for the most part. - Moedius 11 years ago
I am adding files to [systemfolder]\spool\drivers\x64 and [systemfolder]\spool\drivers\x64\3 folder. I am creating a package on x64 system. GhostScript is packaged as well, and restarting spooler.
The notes are to create an .inf file. And they are for the older version. I tried to follow the logic and created .inf file with cpwmon64.dll as a drive files but getting an error when i try to run:
rundll32 printui.dll,PrintUIEntry /if /b "CutePDF Writer" /f cutepdf.inf /r "CPW2:" /m "CutePDF Writer"
Comments:
-
Since the thread is regards specifically to the uninstall, if you still have some questions, pm me and I'll see if I can help. - Moedius 11 years ago
I know this is an ancient post, but there didn't appear to be a resolution. With the availability of Microsoft Print to PDF in Windows 10, I imagine others will be removing CutePDF Writer as well.
I found this VBS on Reddit, tested it in the K1000 and works like a charm. The script does show uninstall prompts to the end-user, but the script automatically transmits the responses.
Script credit to u/MaelstromageWork on Reddit. Source
Set KillShell = WScript.CreateObject("WScript.Shell")
Set CuteShell = WScript.CreateObject("WScript.Shell")
KillShell.Run "Taskkill /f /IM Setup64.exe"
WScript.Sleep 500
CuteShell.Run """c:\Program Files (x86)\Acro Software\CutePDF Writer\Setup64.exe"" /uninstall", 9
WScript.Sleep 500
CuteShell.SendKeys "{ENTER}"
WScript.Sleep 500
CuteShell.SendKeys "{ENTER}"
I followed this post to create the script in the K1000.