Alphaskin on windows 7

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #35372
    ag0y
    Participant

    I made a computer program that uses alphaskin with windows xp, then I make the installer

    when I install it on another computer that using windows 7, it looks default

    What files do I need to include in the installer?

    sorry for my english

    #49032
    CheshireCat
    Participant

    Hello

    If your application compiles without internal skins, the folder with all or selected skins must be added to the installer.

    Here an example for Inno Setup:

    Code:
    [Files]
    // zusätzliche Skins installieren
    Source: “C:UserDelphi_ProjectsYour_Appskins*”; DestDir: “{app}Skins”; Flags: ignoreversion recursesubdirs

    In the OnCreate event you can set the correct path to the skin folder:

    Code:
    procedure TForm1.FormCreate(Sender: TObject);
    var
    aPath: string;
    begin
    aPath := IncludeTrailingPathDelimiter(ExtractFilePath(Application.ExeName));
    sSkinManager1.SkinDirectory := aPath + 'Skins'
    end;

    end.

    Best regards

    Sascha

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.