Dobry den,delam instalacni skript v Inno Setup a potrebuji pri instalaci vytvorit soubor txt s udaji co zadam do vyplnenych bunek pri instalaci. Pouzil jsem tento vzor z internetu:#define MyAppURL "http://www.example.com/"[Setup]; NOTE: The value of AppId uniquely identifies this application.; Do not use the same AppId value in installers for other applications.; (To generate a new GUID, click Tools | Generate GUID inside the IDE.)AppId={{0BF62679-51B7-47A2-9E5F-D5D0AE6FBC52}AppName={#MyAppName}AppVersion={#MyAppVersion};AppVerName={#MyAppName} {#MyAppVersion}AppPublisher={#MyAppPublisher}AppPublisherURL={#MyAppURL}AppSupportURL={#MyAppURL}AppUpdatesURL={#MyAppURL}DefaultDirName=D:\msgbox\{#MyAppName}DefaultGroupName={#MyAppName}DisableProgramGroupPage=yesOutputDir=D:\msgboxOutputBaseFilename=setupCompression=lzmaSolidCompression=yes[Languages]Name: "english"; MessagesFile: "compiler:Default.isl"[Code]var Page: TInputQueryWizardPage; username: String; password: String;procedure InitializeWizard;begin { Create the page } Page := CreateInputQueryPage(wpWelcome, 'Username & Password', 'Username like : e201600', 'Please enter your username and password.'); { Add items (False means it's not a password edit) } Page.Add('Username:', False); Page.Add('Password:', True); { Set initial values (optional) } Page.Values[0] := ExpandConstant('hello5'); Page.Values[1] := ExpandConstant(''); { Read values into variables }… username := Page.Values[0]; password := Page.Values[1]; SaveStringToFile('d:\filename.txt', username+#13#10+password+#13#10, False);end;Bohuzel do souboru filename.txt se mi ulozi pouze predvyplnena hodnota "hello5" jako text. At vpisuji co chci, zadana data se do txt souboru neprenesou.Poradi nekdo, kde mam chybu ?Dekuji. Ukázat celý příspěvek