Ladislav

Ugly hack

May 29th, 2011
278
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. [Types]
  2. Name: "full"; Description: {code:InstallTypeDescription|full};
  3. Name: "compact"; Description: {code:InstallTypeDescription|compact};
  4. Name: "custom"; Description: {code:InstallTypeDescription|custom};  Flags: iscustom;
  5. Name: "upgrade"; Description: "{cm:Desc_upgrade}";
  6.  
  7. [Code]
  8. function InstallTypeDescription(Name: string): string;
  9. begin
  10.   if Name = 'full' then
  11.     result := SetupMessage(msgFullInstallation)
  12.   else if Name = 'compact' then
  13.     result := SetupMessage(msgCompactInstallation)
  14.   else if Name = 'custom' then
  15.     result := SetupMessage(msgCustomInstallation);
  16. end;
Add Comment
Please, Sign In to add comment