Hello All,

I am using a VB Script to remove an application and delete a folder from "C:\Program (x86)\..." . Problem I am running into is that as long as I am using this script as .VBS it works like a charm. But once I compile this same script using Primal Script 2011, and then use the resulting wrapper.exe, it only uninstall the app but doesn't delete the folder sitting in "C:\Program (x86)\...".

Any suggestions would be greatly appreciated.

0 Comments   [ - ] Hide 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.
Answer this question or Comment on this question for clarity


Hi ,
i could find the issue as when you generate the wrapper.exe ,it generates as 32 bit exe,so when any action that point to 64 bit location will not be recognized by 32 bit exe.

So You may try to generate 64 bit exe or use sysnative wscript.exe "delfolder.vbs"

For More Information On redirection refer This

Rate Post if find Useful
Answered 02/06/2012 by: mahendraKumar
Senior Yellow Belt

Please log in to comment
Resolved. Issue was something else, but thanks a bunch for the reply.

Answered 02/08/2012 by: 786_ak
Third Degree Green Belt

Please log in to comment