问题
any recommendations about those inno setup scripts so the compiled install run smoothly on windows 7?
回答1:
- Don't install anything to user-directories. Assume the installer will be run from a different account than the one that will use the installed application.
- If you need to save user-specific stuff install it as a template to a shared location (ideally read-only to regular users, e.g. under
{app}
) and have your application copy it from there on first startup. - Don't create Quick Launch shortcuts
回答2:
Oliver Giesen's suggestion is what I'm using, but it has a disadvantage... there seems to be no way to remove the {userappdata} folders for all users when uninstalling the program, meaning you can never do a clean uninstall/reinstall.
回答3:
Inno Setup has full support for Windows 7. Just make sure to use the latest version of Inno Seup, preferably the Unicode edition.
来源:https://stackoverflow.com/questions/3029536/inno-setup-install-script-and-windows-7