Issues with deleting folder using wrapper.
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.
Thanks,
AK
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.
Thanks,
AK
0 Comments
[ + ] Show comments
Answers (2)
Please log in to answer
Posted by:
mahendraKumar
12 years ago
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
Thanks,
S.A.MahendraKumar
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
Thanks,
S.A.MahendraKumar
Posted by:
786_ak
12 years ago
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.