I have a C # application and a Visual Studio (2010) installation project with it. In my installation project, I use InstallAllUsers = True . In addition, my application should start at startup, so a shortcut is added to the User Startup Folder .
So, I install my application as a Bob user (from a shared resource), and then I log out and log in as an Alice user. Alice gets a dialogue that says:
The function you are trying to use is located on a network share that is not available.
It provides the network path from which MSI was installed. So, basically, he is looking for an MSI for a share that Alice does not have access to. This is replayable if Alice tries to manually launch the Launch link. However, Alice can directly run exe from the installation location, which works fine.
I donβt quite understand why he is looking for MSI, but I think it makes sense that the application cannot be completely installed by one user for another user, so MSI is needed to complete the installation.
But if that is the case, then I donβt understand why MSI seems to be required only when starting from the Startup link, and not directly from exe.
My question consists of several parts:
- Is this the expected behavior for the
InstallAllUsers parameter? - If so, how can I make sure my application is fully installed for all users?
- Is it necessary to copy msi locally and make sure that it is not deleted before each user can log in?
source share