What happens in Inno Setup when you list the same file twice? -
what happens when setup inno setup .iss file install same file same location twice? inno setup realize doing, , include , install file once, or collect file install multiple times, , overwrite each instance?
inno setup smart enough identify identical source file , include once installer. there's legitimate reason having duplicate source files; may want install same file different locations on target system.
what inno setup won't identify identical target location (i cannot think of legitimate reason having identical target location). install file twice. installs twice identical location, second installation not happen (with executable files default flags, version match) or barely noticeable (as overwrite identical data file).
[files] source: "myprog.exe"; destdir: "{app}" source: "myprog.exe"; destdir: "{app}" source: "requirements.txt"; destdir: "{app}" source: "requirements.txt"; destdir: "{app}"
2015-04-01 17:33:06.529 -- file entry -- 2015-04-01 17:33:06.529 dest filename: c:\program files (x86)\my program\myprog.exe 2015-04-01 17:33:06.529 time stamp of our file: 2013-08-27 02:00:00.000 2015-04-01 17:33:06.529 installing file. 2015-04-01 17:33:06.542 installed file. 2015-04-01 17:33:06.543 -- file entry -- 2015-04-01 17:33:06.543 dest filename: c:\program files (x86)\my program\myprog.exe 2015-04-01 17:33:06.543 time stamp of our file: 2013-08-27 02:00:00.000 2015-04-01 17:33:06.543 dest file exists. 2015-04-01 17:33:06.543 time stamp of existing file: 2013-08-27 02:00:00.000 2015-04-01 17:33:06.543 version of our file: 1.5.0.0 2015-04-01 17:33:06.545 version of existing file: 1.5.0.0 2015-04-01 17:33:06.545 same version. skipping. 2015-04-01 17:33:06.545 -- file entry -- 2015-04-01 17:33:06.545 dest filename: c:\program files (x86)\my program\requirements.txt 2015-04-01 17:33:06.546 time stamp of our file: 2015-04-01 17:29:10.000 2015-04-01 17:33:06.546 installing file. 2015-04-01 17:33:06.547 installed file. 2015-04-01 17:33:06.547 -- file entry -- 2015-04-01 17:33:06.547 dest filename: c:\program files (x86)\my program\requirements.txt 2015-04-01 17:33:06.548 time stamp of our file: 2015-04-01 17:29:10.000 2015-04-01 17:33:06.548 dest file exists. 2015-04-01 17:33:06.548 time stamp of existing file: 2015-04-01 17:29:10.000 2015-04-01 17:33:06.548 version of our file: (none) 2015-04-01 17:33:06.549 version of existing file: (none) 2015-04-01 17:33:06.549 installing file. 2015-04-01 17:33:06.550 installed file.
Comments
Post a Comment