--
You received this message because you are subscribed to the Google Groups "innosetup" group.
To unsubscribe from this group and stop receiving emails from it, send an email to innosetup+...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/innosetup/176769649948.7.3577944849290592717.1103672010%40innosetup.nl.
--


if a custom style is not specified by WizardStyle, it will automatically activate custom style windows11 with modifiers excludelightcontrols and hidebevels.


Hello!
Thanks for the new release.
Please explain how to use the style file and background image together.
I use the CodeClasses.iss script example.
If I specify a background image file, the controls do not accept the style.
WizardStyle=modern
WizardStyleFile=..\Styles\Glow.vsf
WizardBackImageFile=..\Images\BG_NOuter.png
If I remove the background image directive, the elements are styled according to the style file.
WizardStyle=modern
WizardStyleFile="..\Styles\Glow.vsf"
To view this discussion visit https://groups.google.com/d/msgid/innosetup/ab1a9d32-3366-4233-9141-4b46b1711447n%40googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/innosetup/cf23443a-27c9-4f4e-b6d8-f0fce489ff9an%40googlegroups.com.

--
You received this message because you are subscribed to a topic in the Google Groups "innosetup" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/innosetup/XLS5iqCc8Dw/unsubscribe.
To unsubscribe from this group and all its topics, send an email to innosetup+...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/innosetup/8c97a59c-caba-4b66-9deb-64e725a47c02n%40googlegroups.com.
I get this error when my app runs after installer finishes.
Also, I had some custom code for rendering the progress different. I thought it was working but now nothign shows during install:
procedure CurStepChanged(CurStep: TSetupStep);
var
strLogFilePathName, strLogFileName, strNewFilePathName: String;
LogPath: String;
FileSystemTime, CurrentTime: TSystemTime;
FindRec: TFindRec;
ImportRegResult: Integer;
begin
if (CurStep = ssPostInstall) then
begin
if (FileExists(ExportRegPath)) then
begin
if (Exec(ExpandConstant('{sys}\reg.exe'), \
'import ' + ExportRegPath, \
'', SW_HIDE, ewWaitUntilTerminated, ImportRegResult)) then
begin
Log('Import registry result: ' + SysErrorMessage(ImportRegResult));
Log('Import registry file: ' + ExportRegPath);
end
else begin
Log('Import registry result: ' + SysErrorMessage(ImportRegResult));
end;
end;
end
else if (CurStep = ssDone) then
begin
GetSystemTime(CurrentTime);
LogPath := ExpandConstant('{#CommonDataDir}\Installation Logs\');
if FindFirst(LogPath + '*', FindRec) then
begin
try
repeat
if FindRec.Attributes and FILE_ATTRIBUTE_DIRECTORY = 0 then
begin
FileTimeToSystemTime(FindRec.LastWriteTime, FileSystemTime);
if (FileSystemTime.Year < CurrentTime.Year - 1) or
((FileSystemTime.Year = CurrentTime.Year - 1) and
(FileSystemTime.Month < CurrentTime.Month)) or
((FileSystemTime.Year = CurrentTime.Year - 1) and
(FileSystemTime.Month = CurrentTime.Month) and
(FileSystemTime.Day < CurrentTime.Day)) then
begin
Log(Format('Log %s is too old (%d.%d.%d), deleting...', [
FindRec.Name, FileSystemTime.Day, FileSystemTime.Month,
FileSystemTime.Year]));
DeleteFile(LogPath + FindRec.Name);
end
end;
until not FindNext(FindRec);
finally
FindClose(FindRec);
end;
end;
strLogFilePathName := ExpandConstant('{log}');
strLogFileName := ExtractFileName(strLogFilePathName);
strNewFilePathName := LogPath + strLogFileName;
CopyFile(strLogFilePathName, strNewFilePathName, false);
end;
end;--
You received this message because you are subscribed to a topic in the Google Groups "innosetup" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/innosetup/XLS5iqCc8Dw/unsubscribe.
To unsubscribe from this group and all its topics, send an email to innosetup+...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/innosetup/177160646481.8.4212696941621273883.1186838204%40innosetup.nl.
function FileTimeToSystemTime(FileTime: TFileTime; var SystemTime: TSystemTime): Boolean; external 'FileTimeTo...@kernel32.dll stdcall';
As for the ItemIndex, I think it was intentional to prevent the selected row showing in blue.
You received this message because you are subscribed to the Google Groups "innosetup" group.
To unsubscribe from this group and stop receiving emails from it, send an email to innosetup+...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/innosetup/CAKSr1pfAGsA%3Ds6X49Aj7vx_OcPZLd6PTjMQVCTA%2BBS%2B523E%3DGA%40mail.gmail.com.
To view this discussion visit https://groups.google.com/d/msgid/innosetup/177161757480.7.12562819715533395865.1187213789%40innosetup.nl.
To view this discussion visit https://groups.google.com/d/msgid/innosetup/CAKSr1pcNx%3DR97AW%2BHCDBsrOHxpiiQOCw6Td02dk4%3DomJT4sPFA%40mail.gmail.com.
To view this discussion visit https://groups.google.com/d/msgid/innosetup/177161891523.6.12289574781995084290.1187262017%40innosetup.nl.
To view this discussion visit https://groups.google.com/d/msgid/innosetup/CAKSr1pcduVTv8HmtSJeobR8B9Q8GQWEitwMwGxeQ89v4SS0YZg%40mail.gmail.com.
To view this discussion visit https://groups.google.com/d/msgid/innosetup/482ad8ef-8696-4c45-b42d-5ff48f7314d9n%40googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/innosetup/482ad8ef-8696-4c45-b42d-5ff48f7314d9n%40googlegroups.com.
Sorry I did not state that I attached a sample to my last message that reproduced the issue. Sorry if that was not clear.
Thanks, I was able to reproduce the issue using the sample, and have fixed it.
Until the next preview is released sometime soon, you should avoid using TFindRec in 64-bit installers.