I'm trying to use a Click Once .appref-ms file as the Master Application.
This file type is similar to a shortcut link for Click Once Applications generated with Visual Studio.
If I browse and select the Application startup icon from the Desktop.
It should add the Path as "c:\Users\MyUserName\Desktop\ClickOnceApp.appref-ms"
But instead it adds to the path the actual directory where it is installed.
This seems to work.. but now it is using a "hard-coded" path.
"C:\Users\MyUserName\AppData\Local\Apps\2.0\ASDKFJHASDFPORWEOPJER.wk9\KASDKLKBN0923497\ClickOnceApp.exe"
If the ClickOnce Application has an update it will install it in another directory.
But the Master Application Path is still launching the Old Version of the App.
If I make a small .EXE stub program to Launch this .appref-ms file it works once.. but will not restart if the KEEP RUNNING option is on.
Is there a way to use the .appref-ms file?
This file type is similar to a shortcut link for Click Once Applications generated with Visual Studio.
If I browse and select the Application startup icon from the Desktop.
It should add the Path as "c:\Users\MyUserName\Desktop\ClickOnceApp.appref-ms"
But instead it adds to the path the actual directory where it is installed.
This seems to work.. but now it is using a "hard-coded" path.
"C:\Users\MyUserName\AppData\Local\Apps\2.0\ASDKFJHASDFPORWEOPJER.wk9\KASDKLKBN0923497\ClickOnceApp.exe"
If the ClickOnce Application has an update it will install it in another directory.
But the Master Application Path is still launching the Old Version of the App.
If I make a small .EXE stub program to Launch this .appref-ms file it works once.. but will not restart if the KEEP RUNNING option is on.
Is there a way to use the .appref-ms file?
0