View Single Post
  #1210  
Old 07-09-2022, 00:42
KaktoR's Avatar
KaktoR KaktoR is offline
Lame User
 
Join Date: Jan 2012
Location: From outer space
Posts: 4,689
Thanks: 1,106
Thanked 7,336 Times in 2,838 Posts
KaktoR is on a distinguished road
Quote:
Originally Posted by L33THAK0R View Post
Would you happen to know by any chance what the label/function is that calls the crc page post-install, I cant for the life of me seem to figure it out!
If you search for "#if CheckCRC" you will get all things related to crc check.

The crc page is a custom created page, "CurPageID = CRCPage.ID"

This page will be created here

Code:
    #if !CompactMode //if NOT compactmode (= normal mode)
      CRCPage := CreateCustomPage(wpInstalling, '', ''); //crc page will be created after wpInstalling page
    #else // if compact mode
      CRCPage := CreateCustomPage(wpInfoAfter, '', ''); //crc page will be created after wpInfoAfter page (compactmode works a bit different due to 1 page installer)
    #endif
Use Exec or Exec2 funtion on ssPostInstall step to start quicksvf.exe. You can search there for "#if UseBatch" to get an idea how it should look like with quicksvf.exe.

Quote:
Originally Posted by L33THAK0R View Post
Sorry again to seemingly never run out of queries, I'm a bit of a brainlet, if it's at all alright would you be able to walk me through the values/arguments I should be attaching to "UnpackDLLFiles", I'm not too sure about the
Code:
(UnpFile: String): Boolean;
side of things, with trusty Dr. Google not really making clear what a "UnpFile" designation is.
Example
Code:
function InitializeSetup(): Boolean;
begin
...
UnpackDLLFiles;
...
UnpFile is a custom string designated to UnpackDLLFiles function and is only valid inside this function.
__________________
Haters gonna hate

Last edited by KaktoR; 07-09-2022 at 00:48.
Reply With Quote
The Following User Says Thank You to KaktoR For This Useful Post:
L33THAK0R (07-09-2022)