Prevents the compiler from attempting to compress the file. Note that if Setup has to restart the user's computer (as a result of installing a file with the flag restartreplace or if the AlwaysRestart section directive is yes), the user will not be given an option to view the README file. For this reason, the README file should always end with an extension like. If Yes is chosen, Setup will open the file, using the default program for the file type. When a file has this flag, the user will asked if they would like to view the README file after the installation has completed. Only one file in an installation can have this flag. This flag should only be used on files private to your application, never on shared system files. ignoreversionĭon't compare version info at all replace existing files regardless of their version number. To uninstall the file Uninstaller uses the strong assembly name specified by parameter StrongAssemblyName.Īn exception will be raised if an attempt is made to use this flag on a system with no. When used in combination with sharedfile, the file will only be uninstalled when the reference count reaches zero. Specify this flag if the entry is installing a non-TrueType font with the FontInstall parameter. See the Source parameter description for more information. This flag instructs Inno Setup not to statically compile the file specified by the Source parameter into the installation files, but instead copy from an existing file on the distribution media or the user's system. Use this flag on files you wish to modify while already compiled into Setup. Prevents Setup from verifying the file checksum after extraction. This flag is useful if the file is handled by the section exclusively and extracted using ExtractTemporaryFile. dontcopyĭon't copy the file to the user's system during the normal file copying stage but do statically compile the file into the installation. This flag cannot be combined with the isreadme, regserver, regtypelib, restartreplace, sharedfile, or uninsneveruninstall flags. This flag will not cause existing files that weren't replaced during installation to be deleted. This can be useful for extracting temporary data needed by a program executed in the script's section. Instructs Setup to install the file as usual, but then delete it once the installation is completed (or aborted). This flag causes these directories to be created at install time (just like if you created entries for them). createallsubdirsīy default the compiler skips empty directories when it recurses subdirectories searching for the Source filename/wildcard. confirmoverwriteĪlways ask the user to confirm before replacing an existing file. This can create a situation where files are replaced when the user doesn't expect them to be, or not replaced when the user expects them to be. Use of this flag is not recommended except as a last resort, because there is an inherent issue with it: NTFS partitions store time stamps in UTC (unlike FAT partitions), which causes local time stamps - what Inno Setup works with by default - to shift whenever a user changes their system's time zone or when daylight saving time goes into or out of effect. If the existing file has an older time stamp (last write/modified time) than the file being installed, the existing file will replaced. The replacesameversion flag isn't used, and the existing file and the file being installed have the same version number (as determined by the files' version info).The ignoreversion flag is also used on the entry.Neither the existing file nor the file being installed has version info.Instructs Setup to proceed to comparing time stamps (last write/modified time) if the file being installed already exists on the user's system, and at least one of the following conditions is true: It is strongly recommended that you DO NOT use this flag, unless you are absolutely sure you know what you're doing. allowunsafefilesĭisables the compiler's automatic checking for unsafe files. This is the default behavior in 64-bit install mode. Source: "CT元DV2.DLL" DestDir: " constant to map to the 64-bit System directory when used in the Source and DestDir parameters, the regserver and regtypelib flags to treat the file as 64-bit, and the sharedfile flag to update the 64-bit SharedDLLs registry key. This optional section defines any files Setup is to install on the user's system.
0 Comments
Leave a Reply. |