Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
WSH script to create a shortcut doesn't work on Vista
Message
From
17/04/2007 10:35:05
Emerson Reed
Folhamatic Tecnologia Em Sistemas
Americana - São Paulo, Brazil
 
 
To
17/04/2007 08:49:08
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Miscellaneous
Thread ID:
01215705
Message ID:
01216747
Views:
19
Hi Doug!

>In the "Installer Detection" section of the link that you pointed me, has an explanation about how Vista identifies an installer and one of them is check if filename includes keywords such as "install," "setup," and "update."
>
>So, if I simply change my exe name to Install.exe it could work?
>Voila! It works!

>> Nice! One slight downside: while Install.exe will request elevation if run from Windows Explorer, it can't be called from a VFP application; the RUN command fails.

I'm using WSH (instead of Run command) to run the exe that creates the shortcut and it works correctly.
Emerson Santon Reed
"One Developer CAN Make a Difference. A community CAN make a future." - Craig Boyd
Previous
Reply
Map
View

Click here to load this message in the networking platform