Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
WSH script to create a shortcut doesn't work on Vista
Message
De
17/04/2007 10:35:05
Emerson Reed
Folhamatic Tecnologia Em Sistemas
Americana - São Paulo, Brésil
 
 
À
17/04/2007 08:49:08
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Divers
Thread ID:
01215705
Message ID:
01216747
Vues:
18
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform