docs/faq.md
| docs / faq.md |
|---|
Frequently Asked Questions for Squirrel.Windows, organized by area below.
Update.exe in the parent directory to determine if the app is using Squirrel (see #574).var assembly = Assembly.GetEntryAssembly();
var updateDotExe = Path.Combine(Path.GetDirectoryName(assembly.Location), "..", "Update.exe");
var isSquirrelInstall = File.Exists(updateDotExe);
packages\Squirrel.Windows.VERSION\tools\SquirrelSetup.log for logging information when creating packages.Setup.exe is failing. How do I learn what is going wrong?%LocalAppData%\SquirrelTemp\SquirrelSetup.log for logs related to the initial install.%LocalAppData%. In this case, the "show log" button on the "installation failed" dialog will fail because Update.exe can not run to create a log file.Setup.exe for your application should still copy files to %LocalAppData%\SquirrelTemp as a pre-installation step. To verify that Group Policy is restricting you, execute Update.exe from the command line as follows:
C:\>%LocalAppData\MyApp\Update.exe
This program is blocked by group policy. For more information, contact your system administrator.
id property doesn't have a space or [dot] in it.Setup.exe install application?Setup.exe to what ever you wish (e.g., MyAppSetup.exe) (see #611)MyApp.exe or Update.exe. What can I do?\bin directory so you can execute MyApp in the Visual Studio debugger and simply step through the update process as well as catch exceptions and log the results (see Debugging Updates for details)Update.exe that succeeds the initial install, but doesn't do what you want for some reason. To fix this, you can force an update of the Update.exe by including a copy of Squirrel.exe in your app update package. If Squirrel sees this, it will copy in this latest version to the local app installation.%LOCALAPPDATA%.| Return: Table of Contents |
|---|