Forum Discussion
RRobesin
Oct 07, 2019Copper Contributor
How to run Client Server application with MSIX
I am trying to make an MSIX run with a client/server application. Why, we want to run multiple versions with different network share next to each other. They use the same registrykeys and therefor w...
Vladimir Postel
Microsoft
Nov 21, 2019Hi Rudi,
Thanks for the details, few more clarification please;
Do you know how the .exe on share is launched from the client application? (e.g. CreateProcess)
Do you have the code for the application or have an ability to change it? (I know typically the code is not available but I want to make sure here)
Thanks again,
Vlad
RRobesin
Nov 22, 2019Copper Contributor
Hi Vlad,
I do not have the code since it is a third party product we use. The exe on the share is started with a simple shortcut that is locally on the pc. I put the shortcut into the MSIX file.
Maybe it makes sense that an external exe has no access to the containers registry or files in terms of security.
/Rudi
- Vladimir PostelNov 26, 2019
Microsoft
Hi Rudi,
Thanks for clarifying, we don't support it via a shortcut today, can you please share how do you run the shortcut from within the MSIX package?
As an FYI - We do support running an .exe from outside the package within the container via CreateProcessAsUser function via the PROC_THREAD_ATTRIBUTE_DESKTOP_APP_POLICY attribute but it is more of a developer scenario - https://msdn.microsoft.com/en-us/library/windows/desktop/ms686880(v=vs.85).aspx
Vlad
- RRobesinNov 27, 2019Copper Contributor
Hi Vlad,
The shortcut is launched by the user and points directly to the exe on the fileshare like "\\server\share\folder\subfolder\runthis.exe". I read the developer info but think that is a bit to far for us. Also I am not fond of using all kind of custom things. If things change which will be the case with MSIX it might not work anymore. I think the conclusion for now is that this is not suitable yet to use in an enterprise environment.
Or am I wrong?
- Vladimir PostelNov 27, 2019
Microsoft
Yes, you are right, we don't support this scenario yet. I will capture it.
One more clarification please, how the user finds the shortcut if you deploy it with the MSIX package (it will be under the WindowsApps folder that a regular user don't have permissions for)? Are you coping it to the desktop when the app starts?
Thanks,
Vlad