home *** CD-ROM | disk | FTP | other *** search
/ Computer Shopper 233 / Computer Shopper 233 / ComputerShopperDVD233.iso / Toolkit / Enhance / KeyText / ktext307.exe / install_script.iss (.txt)
Encoding:
Inno Setup Script  |  2007-03-22  |  6.8 KB  |  83 lines

  1. ;InnoSetupVersion=5.1.10
  2. [Setup]
  3. AppName=KeyText
  4. AppVerName=KeyText v3
  5. AppId=KeyText
  6. AppPublisher=MJMSoft Design
  7. AppPublisherURL=http://www.mjmsoft.com
  8. AppSupportURL=http://www.keytext.com
  9. AppUpdatesURL=http://www.keytext.com/whatsnew.htm
  10. AppMutex=KeyText,Global\KeyText
  11. DefaultDirName={code:GetExistingDirName}
  12. DefaultGroupName=KeyText
  13. OutputBaseFilename=setup
  14. Compression=lzma
  15. LicenseFile=embedded\License.txt
  16. WizardImageFile=embedded\WizardImage0.bmp
  17. WizardSmallImageFile=embedded\WizardSmallImage0.bmp
  18. [Files]
  19. ; Source: "{app}\Backup\,1"; DestDir: "{app}\Backup"; Check: "FileExists(ExpandConstant('{app}\order.txt'))"; Flags: uninsneveruninstall skipifsourcedoesntexist onlyifdoesntexist 
  20. ; Source: "{app}\Backup\,2"; DestDir: "{app}\Backup"; Check: "FileExists(ExpandConstant('{app}\order.txt'))"; Flags: uninsneveruninstall skipifsourcedoesntexist onlyifdoesntexist 
  21. ; Source: "{app}\Backup\,3"; DestDir: "{app}\Backup"; Check: "FileExists(ExpandConstant('{app}\order.txt'))"; Flags: uninsneveruninstall skipifsourcedoesntexist onlyifdoesntexist 
  22. ; Source: "{app}\Backup\,4"; DestDir: "{app}\Backup"; Check: "FileExists(ExpandConstant('{app}\order.txt'))"; Flags: uninsneveruninstall skipifsourcedoesntexist onlyifdoesntexist 
  23. Source: "{app}\RestoreOldKT.exe"; DestDir: "{app}"; Check: "FileExists(ExpandConstant('{app}\order.txt'))"; Flags: onlyifdoesntexist ignoreversion 
  24. Source: "{app}\readme.txt"; DestDir: "{app}"; Flags: ignoreversion 
  25. Source: "{app}\license.txt"; DestDir: "{app}"; Flags: ignoreversion 
  26. Source: "{app}\whatsnew.doc"; DestDir: "{app}"; Flags: ignoreversion 
  27. Source: "{app}\ombudsmn.txt"; DestDir: "{app}"; Flags: ignoreversion 
  28. Source: "{app}\dep.txt"; DestDir: "{app}"; Check: "isVista()"; Flags: ignoreversion 
  29. Source: "{app}\pad_file.xml"; DestDir: "{app}"; Flags: ignoreversion 
  30. Source: "{app}\pad_file.htm"; DestDir: "{app}"; Flags: ignoreversion 
  31. Source: "{app}\KeyText.exe"; DestDir: "{app}"; Flags: ignoreversion 
  32. Source: "{app}\KeyText,1.dll"; DestDir: "{app}"; DestName: "KeyText.dll"; Check: "isXP()"; Flags: restartreplace uninsrestartdelete ignoreversion 
  33. Source: "{app}\KeyText2,1.dll"; DestDir: "{app}"; DestName: "KeyText2.dll"; Check: "isXP()"; Flags: restartreplace uninsrestartdelete ignoreversion 
  34. Source: "{app}\KeyText,2.dll"; DestDir: "{app}"; DestName: "KeyText.dll"; Check: "preXP()"; Flags: restartreplace uninsrestartdelete ignoreversion 
  35. Source: "{app}\KeyText2,2.dll"; DestDir: "{app}"; DestName: "KeyText2.dll"; Check: "preXP()"; Flags: restartreplace uninsrestartdelete ignoreversion 
  36. Source: "{commonappdata}\KeyText\KeyText.kt3"; DestDir: "{commonappdata}\KeyText"; Check: "notVista()"; Flags: uninsneveruninstall onlyifdoesntexist 
  37. Source: "{userappdata}\KeyText\KeyText.kt3"; DestDir: "{userappdata}\KeyText"; Check: "isVista()"; Flags: uninsneveruninstall onlyifdoesntexist 
  38. Source: "{commonappdata}\KeyText\Samples.kt3"; DestDir: "{commonappdata}\KeyText"; Check: "notVista()"; Flags: ignoreversion 
  39. Source: "{userappdata}\KeyText\Samples.kt3"; DestDir: "{userappdata}\KeyText"; Check: "isVista()"; Flags: ignoreversion 
  40. Source: "{app}\KeyText.chm"; DestDir: "{app}"; Flags: ignoreversion 
  41. Source: "{app}\chime.wav"; DestDir: "{app}"; AfterInstall: "AddRClickData"; Flags: ignoreversion 
  42. Source: "{app}\LicInit.exe"; DestDir: "{app}"; Check: "isVista()"; Flags: ignoreversion 
  43. [Registry]
  44. Root: HKLM; Subkey: "Software\MJMSoft"; Check: "notVista()"; Flags: uninsdeletekeyifempty 
  45. Root: HKLM; Subkey: "Software\MJMSoft\KeyText"; Check: "notVista()"; Flags: uninsdeletekey 
  46. Root: HKLM; Subkey: "Software\MJMSoft\KeyText"; ValueName: "Default kt3 File"; ValueType: String; ValueData: "{commonappdata}\KeyText\KeyText.kt3"; Check: "notVista()"; Flags: createvalueifdoesntexist uninsdeletekey 
  47. Root: HKLM; Subkey: "Software\MJMSoft\KeyText"; ValueName: "GlobalStringsFile"; ValueType: String; ValueData: "{commonappdata}\KeyText\KeyText.gsv"; Check: "notVista()"; Flags: createvalueifdoesntexist uninsdeletekey 
  48. Root: HKCU; Subkey: "Software\MJMSoft"; Flags: uninsdeletekeyifempty 
  49. Root: HKCU; Subkey: "Software\MJMSoft\KeyText"; Flags: uninsdeletekey 
  50. Root: HKCU; Subkey: "Software\MJMSoft\KeyText"; ValueName: "Default kt3 File"; ValueType: String; ValueData: "{userappdata}\KeyText\KeyText.kt3"; Flags: createvalueifdoesntexist uninsdeletekey 
  51. Root: HKCU; Subkey: "Software\MJMSoft\KeyText"; ValueName: "GlobalStringsFile"; ValueType: String; ValueData: "{userappdata}\KeyText\KeyText.gsv"; Flags: createvalueifdoesntexist uninsdeletekey 
  52. Root: HKCR; Subkey: ".kt3"; ValueType: String; ValueData: "KeyText.data"; Flags: uninsdeletekey 
  53. Root: HKCR; Subkey: "KeyText.data"; ValueType: String; ValueData: "KeyText data"; Flags: uninsdeletekey 
  54. Root: HKCR; Subkey: "KeyText.data\shell\open\command"; ValueType: String; ValueData: "{code:GetShortAppDir}\KeyText.exe %1"; 
  55. Root: HKLM; Subkey: "SOFTWARE\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Layers"; ValueName: "{app}\LicInit.exe"; ValueType: String; ValueData: "DisableNXShowUI"; Check: "isVista()"; Flags: createvalueifdoesntexist uninsdeletevalue dontcreatekey 
  56. Root: HKLM; Subkey: "SOFTWARE\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Layers"; ValueName: "{app}\KeyText.exe"; ValueType: String; ValueData: "DisableNXShowUI"; Check: "isVista()"; Flags: createvalueifdoesntexist uninsdeletevalue dontcreatekey 
  57. [Run]
  58. Filename: "{app}\LicInit.exe"; Check: "isVista()"; Flags: nowait
  59. Filename: "{app}\readme.txt"; Description: "View the readme.txt"; Check: "notVista()"; Flags: shellexec postinstall unchecked skipifsilent nowait
  60. Filename: "{app}\whatsnew.doc"; Description: "View the whatsnew.doc"; Check: "notVista()"; Flags: shellexec postinstall unchecked skipifsilent nowait
  61. Filename: "{app}\KeyText.exe"; Description: "{cm:LaunchProgram,KeyText}"; Check: "notVista()"; Flags: postinstall skipifsilent nowait
  62. [Icons]
  63. Name: "{group}\KeyText"; Filename: "{app}\KeyText.exe"; 
  64. Name: "{group}\KeyText Help"; Filename: "{app}\KeyText.chm"; 
  65. Name: "{group}\{cm:UninstallProgram,KeyText}"; Filename: "{uninstallexe}"; 
  66. Name: "{userstartup}\KeyText"; Filename: "{app}\KeyText.exe"; Check: "StartupCheck"; 
  67. [UninstallDelete]
  68. Type: files; Name: "{app}\KeyText.dat"; 
  69. [CustomMessages]
  70. default.NameAndVersion=%1 version %2
  71. default.AdditionalIcons=Additional icons:
  72. default.CreateDesktopIcon=Create a &desktop icon
  73. default.CreateQuickLaunchIcon=Create a &Quick Launch icon
  74. default.ProgramOnTheWeb=%1 on the Web
  75. default.UninstallProgram=Uninstall %1
  76. default.LaunchProgram=Launch %1
  77. default.AssocFileExtension=&Associate %1 with the %2 file extension
  78. default.AssocingFileExtension=Associating %1 with the %2 file extension...
  79. [Languages]
  80. ; These files are stubs
  81. ; To achieve better results after recompilation, use the real language files
  82. Name: "default"; MessagesFile: "embedded\default.isl"; 
  83.