leeuniverse

Forum Replies Created

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • leeuniverse
    Participant

      Maybe I'm not being clear enough? Your tutorials have zero to do with what I'm asking.

      If you look at the link I linked above, they link the necessary script required to put into InnoSetup that will allow your .asz skins to work in it.

      Code:
      [Setup]
      AppName=My Program
      AppVersion=1.5
      DefaultDirName={pf}My Program
      DefaultGroupName=My Program
      UninstallDisplayIcon={app}MyProg.exe
      Compression=lzma2
      SolidCompression=yes
      OutputDir=userdocs:Inno Setup Examples Output

      [Files]
      Source: “MyProg.exe”; DestDir: “{app}”
      Source: “MyProg.chm”; DestDir: “{app}”
      Source: “Readme.txt”; DestDir: “{app}”; Flags: isreadme
      Source: “SkinsGarnet.asz”; Flags: dontcopy

      [Icons]
      Name: “{group}My Program”; Filename: “{app}MyProg.exe”

      [Code]
      procedure InitializeWizard;
      begin
      ExtractTemporaryFile('Garnet.asz');
      WizardForm.SkinManager.SkinDirectory := ExpandConstant('{tmp}');
      WizardForm.SkinManager.SkinName := 'Garnet';
      end;

      However, this seems wrong, or is missing information I need to get the skin to work.

      Like I mentioned, with the other skin systems they require a .dll file also.

      Or, maybe I just need clarification of the code on how to get it to work with your skins?

      Basically, I need clarification on how the skins are able to be used with InnoSetup.

      Here's an example of the code I have to put into the .iss file for VCLStyle skins to work, which we've been able to do no problem.

      Code:
      [Setup]
      AppName=VCL Styles Example
      AppVerName=VCL Styles Example v1.0
      AppVersion=1.0.0.0
      AppCopyright=The Road To Delphi
      DefaultDirName={pf}The Road To DelphiVCL Styles Inno Demo
      DefaultGroupName=The Road To Delphi
      Compression=lzma
      SolidCompression=true
      WizardImageFile=WizModernImage-IS.bmp
      WizardSmallImageFile=WizModernSmallImage-IS.bmp
      OutputDir=.Output
      OutputBaseFilename=Setup
      VersionInfoVersion=1.0.0.0
      VersionInfoCompany=The Road To Delphi
      VersionInfoDescription=VCL Styles Setup
      VersionInfoTextVersion=1, 0, 0, 0
      InternalCompressLevel=max
      ;LicenseFile=”ISPPExample1License.txt”
      [Files]
      ;
      Source: ..VclStylesinno.dll; DestDir: {app}; Flags: dontcopy
      ;Source: ..Win32ReleaseVclStylesinno.dll; DestDir: {app}; Flags: dontcopy
      Source: ..StylesAmakrits.vsf; DestDir: {app}; Flags: dontcopy

      [Code]
      // Import the LoadVCLStyle function from VclStylesInno.DLL
      procedure LoadVCLStyle(VClStyleFile: String); external 'LoadVCLStyleW@files:VclStylesInno.dll stdcall';
      // Import the UnLoadVCLStyles function from VclStylesInno.DLL
      procedure UnLoadVCLStyles; external 'UnLoadVCLStyles@files:VclStylesInno.dll stdcall';

      function InitializeSetup(): Boolean;
      begin
      ExtractTemporaryFile('Amakrits.vsf');
      LoadVCLStyle(ExpandConstant('{tmp}Amakrits.vsf'));
      Result := True;
      end;

      procedure DeinitializeSetup();
      begin
      UnLoadVCLStyles;
      end;

      I just need to know how to get your skins to work with InnoSetup.

      In the above example, all that's needed is the above code and a .dll file.

      How do I do the same with your Skins?

      Thank you.

      leeuniverse
      Participant

        Yes…..

        I have a partner that I work with who's more the coder, and we've seen bugs with .isskins & VCLSkins so we want to try a different skinning system for our InnoSetup Installers we are working on.

        I have an ANSI InnoSetup installed, and I have an indepth installer (.iss file + all the associated files, i.e. the “sources”) that's different versions with different features like I mentioned above.

        So what are you asking?

        I just need to know the code that needs to be entered into the .iss file, and if there's a .dll or anything so the .iss file can compile using the Alphaskins (.asz) instead of .isskins or VCLSkins.

        To be clear, my friend and I are Mod Pack developers for the game World of Tanks, and we have an installer we are working on, several versions thereof, and so we are exploring better skinning system options.

        I've looked through the Help section of the website, the FAQ's, and zero info on using this skinning system with InnoSetup, as well as extensive Googling, and little to no info at all, except that a few people have apparently used Alphskins for InnoSetup, but no info on how (other than the website above, but it seems incomplete?)…. So, I'm here asking “how”? 🙂

        Anyway, hope that helped.

        Thanks.

      Viewing 2 posts - 1 through 2 (of 2 total)