Files
create/package/WindowsInstaller/lang/english.nsh
Adrián Insaurralde Avalos d466ba037b WindowsInstaller: multiple improvements and fixes
move windowsinstaller to /package
update artwork
adapt to conda builds
make msvc redist directory optional
automate version information definition
use relative directories for file locations definitions
improve/update readme
partially update Delete.bat for qt6 libpack
add .gitignore
update signing.bat and add hashing command

WindowsInstaller: use --safe-mode in freecadcmd commands [skip ci]

WindowsInstaller: make windows 8 the minimum version [skip ci]

WindowsInstaller: allow configuring some values via command line

windows installer update for qt6 build
2025-11-22 23:46:11 -03:00

71 lines
3.6 KiB
NSIS

/*
FreeCAD Installer Language File
Language: English
*/
!insertmacro LANGFILE_EXT "English"
${LangFileString} TEXT_INSTALL_CURRENTUSER "(Installed for Current User)"
${LangFileString} TEXT_WELCOME "This wizard will guide you through the installation of $(^NameDA), $\r$\n\
$\r$\n\
$_CLICK"
#${LangFileString} TEXT_CONFIGURE_PYTHON "Compiling Python scripts..."
${LangFileString} TEXT_FINISH_DESKTOP "Create desktop shortcut"
${LangFileString} TEXT_FINISH_WEBSITE "Visit freecad.org/ for the latest news, support and tips"
#${LangFileString} FileTypeTitle "FreeCAD-Document"
#${LangFileString} SecAllUsersTitle "Install for all users?"
${LangFileString} SecFileAssocTitle "File associations"
${LangFileString} SecDesktopTitle "Desktop icon"
${LangFileString} SecCoreDescription "The FreeCAD files."
#${LangFileString} SecAllUsersDescription "Install FreeCAD for all users or just the current user."
${LangFileString} SecFileAssocDescription "Files with a .FCStd extension will automatically open in FreeCAD."
${LangFileString} SecDesktopDescription "A FreeCAD icon on the desktop."
#${LangFileString} SecDictionaries "Dictionaries"
#${LangFileString} SecDictionariesDescription "Spell-checker dictionaries that can be downloaded and installed."
#${LangFileString} PathName 'Path to the file $\"xxx.exe$\"'
#${LangFileString} InvalidFolder 'The file $\"xxx.exe$\" is not in the specified path.'
#${LangFileString} DictionariesFailed 'Download of dictionary for language $\"$R3$\" failed.'
#${LangFileString} ConfigInfo "The following configuration of FreeCAD could take a while."
#${LangFileString} RunConfigureFailed "Could not run configure script."
${LangFileString} InstallRunning "The installer is already running!"
${LangFileString} AlreadyInstalled "FreeCAD ${APP_SERIES_KEY2} is already installed!$\r$\n\
Installing over existing installations is not recommended if the installed version$\r$\n\
is a test release or if you have problems with your existing FreeCAD installation.$\r$\n\
In these cases better reinstall FreeCAD.$\r$\n\
Do you nevertheless want to install FreeCAD over the existing version?"
${LangFileString} NewerInstalled "You are trying to install an older version of FreeCAD than what you have installed.$\r$\n\
If you really want this, you must uninstall the existing FreeCAD $OldVersionNumber before."
#${LangFileString} FinishPageMessage "Congratulations! FreeCAD has been installed successfully.$\r$\n\
# $\r$\n\
# (The first start of FreeCAD might take some seconds.)"
${LangFileString} FinishPageRun "Launch FreeCAD"
${LangFileString} UnNotInRegistryLabel "Unable to find FreeCAD in the registry.$\r$\n\
Shortcuts on the desktop and in the Start Menu will not be removed."
${LangFileString} UnInstallRunning "You must close FreeCAD first!"
${LangFileString} UnNotAdminLabel "You must have administrator privileges to uninstall FreeCAD!"
${LangFileString} UnReallyRemoveLabel "Are you sure you want to completely remove FreeCAD and all of its components?"
${LangFileString} UnFreeCADPreferencesTitle 'FreeCAD$\'s user preferences'
#${LangFileString} SecUnProgDescription "Uninstalls xxx."
${LangFileString} SecUnPreferencesDescription 'Deletes FreeCAD$\'s configuration$\r$\n\
(folder $\"$AppPre\username\$\r$\n\
$AppSuff\$\r$\n\
${APP_DIR_USERDATA}$\")$\r$\n\
for you or for all users (if you are admin).'
${LangFileString} DialogUnPreferences 'You chose to delete the FreeCADs user configuration.$\r$\n\
This will also delete all installed FreeCAD addons.$\r$\n\
Do you agree with this?'
${LangFileString} SecUnProgramFilesDescription "Uninstall FreeCAD and all of its components."