I’ve created a winform application which is deployed/installed via « ClickOnce ».
I’ve notice an odd behavior when I add a prerequisite…
Initially, I have the following prerequisites:
- Windows Installer 3.1
- .Net Framework 3.5 SP 1
Once published, the users navigate to the publish.htm file and they see:
Name: Version: Publisher: and the “Install” link.
Once clicked, the application installs itself without a fuss!
Now…if I decide to add an additional prerequisite, such as the .Net Framework 3.5, I now have the following:
- Windows Installer 3.1
- .Net Framework 3.5
- .Net Framework 3.5 SP 1
Once publish, the publish.htm file shows an additional message underneath the Publisher section which is:
The following prerequisites are required: * Windows Installer 3.1 * .NET Framework 3.5 * .NET Framework 3.5 SP1 If these components are already installed, you can launch the application now...
Question 1) Why is that message all-of-a-sudden showing up?
Question 2) In my second scenario, if the users click the Install link, instead of triggering the application install itself, it prompts a Save dialog to save the “setup.exe” file…which of course, that dialog was not showing in scenario one. Why is the “Save dialog” being prompted to the users?
I’m sure I’m overlooking something here…