Inno Setup Studio - Install the main application executable file to subfolder -


i using inno setup quickstart pack 5.5.6 , perfect.

i installed inno 5.5.8 quickstart pack 5.5.8 , i'm having problem.

ok if start inno can select appname, company , can select path of program , program exe file, screen:

like can see selected main .exe in \binaries\win32\ located not in main folder of program in sub-folder.

now code have

inno script studio automatically write wrong exe path, not main folder of program said in \binaries\win32\ .

but why did ? worked inno quickstart pack 5.5.6 , never seen problem , correct path correct if exe in sub-folder.

you have these 2 entries in [files] section.

[files] source: "c:\temp\life strange episode 5\binaries\win32\lifeisstrange.exe"; \     destdir: "{app}"; flags: ignoreversion source: "c:\temp\life strange episode 5\*"; \     destdir: "{app}"; flags: ignoreversion recursesudirs createallsubdirs 

this not make sense. entries overlap.

it seems believe selecting directory c:\temp\life strange episode 5 in "other application files" setting somehow miraculously define mapping between c:\temp\life strange episode 5 , {app} should make inno setup studio know when select main application file c:\temp\life strange episode 5\binaries\win32\lifeisstrange.exe should go {app}\binaries\win32. won't. entries not related each other in way.

so, first entry install lifeisstrange.exe directly {app}.

the second entry install whole directory tree, including lifeisstrange.exe.

so end lifeisstrange.exe both in {app} , {app}\binaries\win32.

but icon point {app}\lifeisstrange.exe.

i believe inno setup studio asked do.

if want else, have set things differently. though i'm not sure inno setup studio allows install main application executable anywhere else, {app}.

to ask for, have edit .iss manually like:

[files] source: "c:\temp\life strange episode 5\*"; destdir: "{app}"; flags: ignoreversion recursesudirs createallsubdirs  [icons] name: "{group}\{#myappname}"; filename: "{app}\binaries\win32\lifeisstrange.exe" 

Comments

Popular posts from this blog

java - Suppress Jboss version details from HTTP error response -

gridview - Yii2 DataPorivider $totalSum for a column -

Sass watch command compiles .scss files before full sftp upload -