/build/static/layout/Breadcrumb_cap_w.png

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

0 Comments   [ + ] Show comments

Answers (2)

Posted by: mahendraKumar 12 years ago
Senior Yellow Belt
0
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
Posted by: 786_ak 12 years ago
Third Degree Green Belt
0
Resolved. Issue was something else, but thanks a bunch for the reply.

AK
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ