2
0

fscomm.iss 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134
  1. ; Script generated by the Inno Setup Script Wizard.
  2. ; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES!
  3. [Setup]
  4. ; NOTE: The value of AppId uniquely identifies this application.
  5. ; Do not use the same AppId value in installers for other applications.
  6. ; (To generate a new GUID, click Tools | Generate GUID inside the IDE.)
  7. ;AppId={{ED55656F-D567-4B3D-A0B9-617CAB13D519}
  8. AppName=FSComm
  9. AppVerName=FSComm svn 16568
  10. AppPublisherURL=http://wiki.freeswitch.org/wiki/FSComm
  11. AppSupportURL=http://wiki.freeswitch.org/wiki/FSComm
  12. AppUpdatesURL=http://wiki.freeswitch.org/wiki/FSComm
  13. DefaultDirName=C:\FSComm
  14. DefaultGroupName=FSComm
  15. SetupIconFile=freeswitch.ico
  16. OutputBaseFilename=FSComm
  17. Compression=lzma
  18. SolidCompression=yes
  19. OutputDir=Output
  20. ArchitecturesInstallIn64BitMode=x64
  21. ; The define statements below require ISPP (Inno Setup Preprocesso) to be installed.
  22. ; It's part of the QuickStart Pack (http://www.jrsoftware.org/isdl.php
  23. #define QT32Bit_Build "D:\Qt\win32\bin"
  24. #define QT64Bit_Build "D:\Qt\x64\bin"
  25. #define FreeSWITCH_32bit "..\..\..\release"
  26. #define FreeSWITCH_64bit "..\..\..\x64\release"
  27. #define FSComm_32bit "..\..\..\fscomm\win32\release"
  28. #define FSComm_64bit "..\..\..\fscomm\x64\release"
  29. [Languages]
  30. Name: english; MessagesFile: compiler:Default.isl
  31. [Tasks]
  32. Name: desktopicon; Description: {cm:CreateDesktopIcon}; GroupDescription: {cm:AdditionalIcons}; Flags: unchecked
  33. [Files]
  34. Source: vcredist_x86.exe; Flags: 32bit; DestDir: {tmp}; Check: not Is64BitInstallMode
  35. Source: vcredist_x64.exe; Flags: 64bit; DestDir: {tmp}; Check: Is64BitInstallMode
  36. ; 32 bit
  37. Source: freeswitch.ico; DestDir: {app}
  38. Source: {#FSComm_32bit}\fscomm.exe; DestDir: {app}; Flags: 32bit ignoreversion; Check: not Is64BitInstallMode
  39. Source: {#FreeSWITCH_32bit}\fs_cli.exe; DestDir: {app}; Flags: 32bit ignoreversion; Check: not Is64BitInstallMode
  40. Source: ..\..\..\fscomm\conf\*; DestDir: {app}\conf; Flags: 32bit ignoreversion onlyifdoesntexist recursesubdirs; Check: not Is64BitInstallMode
  41. ; 32 bit QT libraries
  42. Source: {#QT32Bit_Build}\QtCore4.dll; DestDir: {app}; Flags: 32bit ignoreversion onlyifdoesntexist; Check: not Is64BitInstallMode
  43. Source: {#QT32Bit_Build}\QtGui4.dll; DestDir: {app}; Flags: 32bit ignoreversion onlyifdoesntexist; Check: not Is64BitInstallMode
  44. Source: {#QT32Bit_Build}\QtXml4.dll; DestDir: {app}; Flags: 32bit ignoreversion onlyifdoesntexist; Check: not Is64BitInstallMode
  45. ; required FreeSWICTCH modules for 32bit build
  46. Source: {#FreeSWITCH_32bit}\mod\mod_console.dll; DestDir: {app}\mod; Flags: 32bit ignoreversion onlyifdoesntexist; Check: not Is64BitInstallMode
  47. Source: {#FreeSWITCH_32bit}\mod\mod_logfile.dll; DestDir: {app}\mod; Flags: 32bit ignoreversion onlyifdoesntexist; Check: not Is64BitInstallMode
  48. Source: {#FreeSWITCH_32bit}\mod\mod_cdr_csv.dll; DestDir: {app}\mod; Flags: 32bit ignoreversion onlyifdoesntexist; Check: not Is64BitInstallMode
  49. Source: {#FreeSWITCH_32bit}\mod\mod_commands.dll; DestDir: {app}\mod; Flags: 32bit ignoreversion onlyifdoesntexist; Check: not Is64BitInstallMode
  50. Source: {#FreeSWITCH_32bit}\mod\mod_dialplan_xml.dll; DestDir: {app}\mod; Flags: 32bit ignoreversion onlyifdoesntexist; Check: not Is64BitInstallMode
  51. Source: {#FreeSWITCH_32bit}\mod\mod_dptools.dll; DestDir: {app}\mod; Flags: 32bit ignoreversion onlyifdoesntexist; Check: not Is64BitInstallMode
  52. Source: {#FreeSWITCH_32bit}\mod\mod_enum.dll; DestDir: {app}\mod; Flags: 32bit ignoreversion onlyifdoesntexist; Check: not Is64BitInstallMode
  53. Source: {#FreeSWITCH_32bit}\mod\mod_event_socket.dll; DestDir: {app}\mod; Flags: 32bit ignoreversion onlyifdoesntexist; Check: not Is64BitInstallMode
  54. Source: {#FreeSWITCH_32bit}\mod\mod_ilbc.dll; DestDir: {app}\mod; Flags: 32bit ignoreversion onlyifdoesntexist; Check: not Is64BitInstallMode
  55. Source: {#FreeSWITCH_32bit}\mod\mod_local_stream.dll; DestDir: {app}\mod; Flags: 32bit ignoreversion onlyifdoesntexist; Check: not Is64BitInstallMode
  56. Source: {#FreeSWITCH_32bit}\mod\mod_loopback.dll; DestDir: {app}\mod; Flags: 32bit ignoreversion onlyifdoesntexist; Check: not Is64BitInstallMode
  57. Source: {#FreeSWITCH_32bit}\mod\mod_PortAudio.dll; DestDir: {app}\mod; Flags: 32bit ignoreversion onlyifdoesntexist; Check: not Is64BitInstallMode
  58. Source: {#FreeSWITCH_32bit}\mod\mod_siren.dll; DestDir: {app}\mod; Flags: 32bit ignoreversion onlyifdoesntexist; Check: not Is64BitInstallMode
  59. Source: {#FreeSWITCH_32bit}\mod\mod_sndfile.dll; DestDir: {app}\mod; Flags: 32bit ignoreversion onlyifdoesntexist; Check: not Is64BitInstallMode
  60. Source: {#FreeSWITCH_32bit}\mod\mod_sofia.dll; DestDir: {app}\mod; Flags: 32bit ignoreversion onlyifdoesntexist; Check: not Is64BitInstallMode
  61. Source: {#FreeSWITCH_32bit}\mod\mod_speex.dll; DestDir: {app}\mod; Flags: 32bit ignoreversion onlyifdoesntexist; Check: not Is64BitInstallMode
  62. Source: {#FreeSWITCH_32bit}\mod\mod_tone_stream.dll; DestDir: {app}\mod; Flags: 32bit ignoreversion onlyifdoesntexist; Check: not Is64BitInstallMode
  63. Source: {#FreeSWITCH_32bit}\mod\mod_voipcodecs.dll; DestDir: {app}\mod; Flags: 32bit ignoreversion onlyifdoesntexist; Check: not Is64BitInstallMode
  64. Source: {#FreeSWITCH_32bit}\mod\mod_celt.dll; DestDir: {app}\mod; Flags: 32bit ignoreversion onlyifdoesntexist; Check: not Is64BitInstallMode
  65. ; required FreeSWICTCH dlls for 32bit build
  66. Source: {#FreeSWITCH_32bit}\pthreadVC2.dll; DestDir: {app}; Flags: 32bit ignoreversion onlyifdoesntexist; Check: not Is64BitInstallMode
  67. Source: {#FreeSWITCH_32bit}\libspandsp.dll; DestDir: {app}; Flags: 32bit ignoreversion onlyifdoesntexist; Check: not Is64BitInstallMode
  68. Source: {#FreeSWITCH_32bit}\libbroadvoice.dll; DestDir: {app}; Flags: 32bit ignoreversion onlyifdoesntexist; Check: not Is64BitInstallMode
  69. Source: {#FreeSWITCH_32bit}\libapr.dll; DestDir: {app}; Flags: 32bit ignoreversion onlyifdoesntexist; Check: not Is64BitInstallMode
  70. Source: {#FreeSWITCH_32bit}\libaprutil.dll; DestDir: {app}; Flags: 32bit ignoreversion onlyifdoesntexist; Check: not Is64BitInstallMode
  71. Source: {#FreeSWITCH_32bit}\libteletone.dll; DestDir: {app}; Flags: 32bit ignoreversion onlyifdoesntexist; Check: not Is64BitInstallMode
  72. Source: {#FreeSWITCH_32bit}\FreeSwitch.dll; DestDir: {app}; Flags: 32bit ignoreversion onlyifdoesntexist; Check: not Is64BitInstallMode
  73. ; 64 bit FSComm build
  74. Source: freeswitch.ico; DestDir: {app}
  75. Source: {#FSComm_64bit}\fscomm.exe; DestDir: {app}; Flags: 64bit ignoreversion; Check: Is64BitInstallMode
  76. Source: {#FreeSWITCH_64bit}\fs_cli.exe; DestDir: {app}; Flags: 64bit ignoreversion; Check: Is64BitInstallMode
  77. Source: ..\..\..\fscomm\conf\*; DestDir: {app}\conf; Flags: 64bit ignoreversion onlyifdoesntexist recursesubdirs; Check: Is64BitInstallMode
  78. ; 64 bit QT libraries
  79. Source: {#QT64Bit_Build}\QtCore4.dll; DestDir: {app}; Flags: 64bit ignoreversion onlyifdoesntexist; Check: Is64BitInstallMode
  80. Source: {#QT64Bit_Build}\QtGui4.dll; DestDir: {app}; Flags: 64bit ignoreversion onlyifdoesntexist; Check: Is64BitInstallMode
  81. Source: {#QT64Bit_Build}\QtXml4.dll; DestDir: {app}; Flags: 64bit ignoreversion onlyifdoesntexist; Check: Is64BitInstallMode
  82. ; required FreeSWICTCH modules for 64bit build
  83. Source: {#FreeSWITCH_64bit}\mod\mod_console.dll; DestDir: {app}\mod; Flags: 64bit ignoreversion onlyifdoesntexist; Check: Is64BitInstallMode
  84. Source: {#FreeSWITCH_64bit}\mod\mod_logfile.dll; DestDir: {app}\mod; Flags: 64bit ignoreversion onlyifdoesntexist; Check: Is64BitInstallMode
  85. Source: {#FreeSWITCH_64bit}\mod\mod_cdr_csv.dll; DestDir: {app}\mod; Flags: 64bit ignoreversion onlyifdoesntexist; Check: Is64BitInstallMode
  86. Source: {#FreeSWITCH_64bit}\mod\mod_commands.dll; DestDir: {app}\mod; Flags: 64bit ignoreversion onlyifdoesntexist; Check: Is64BitInstallMode
  87. Source: {#FreeSWITCH_64bit}\mod\mod_dialplan_xml.dll; DestDir: {app}\mod; Flags: 64bit ignoreversion onlyifdoesntexist; Check: Is64BitInstallMode
  88. Source: {#FreeSWITCH_64bit}\mod\mod_dptools.dll; DestDir: {app}\mod; Flags: 64bit ignoreversion onlyifdoesntexist; Check: Is64BitInstallMode
  89. Source: {#FreeSWITCH_64bit}\mod\mod_enum.dll; DestDir: {app}\mod; Flags: 64bit ignoreversion onlyifdoesntexist; Check: Is64BitInstallMode
  90. Source: {#FreeSWITCH_64bit}\mod\mod_event_socket.dll; DestDir: {app}\mod; Flags: 64bit ignoreversion onlyifdoesntexist; Check: Is64BitInstallMode
  91. Source: {#FreeSWITCH_64bit}\mod\mod_ilbc.dll; DestDir: {app}\mod; Flags: 64bit ignoreversion onlyifdoesntexist; Check: Is64BitInstallMode
  92. Source: {#FreeSWITCH_64bit}\mod\mod_local_stream.dll; DestDir: {app}\mod; Flags: 64bit ignoreversion onlyifdoesntexist; Check: Is64BitInstallMode
  93. Source: {#FreeSWITCH_64bit}\mod\mod_loopback.dll; DestDir: {app}\mod; Flags: 64bit ignoreversion onlyifdoesntexist; Check: Is64BitInstallMode
  94. Source: {#FreeSWITCH_64bit}\mod\mod_PortAudio.dll; DestDir: {app}\mod; Flags: 64bit ignoreversion onlyifdoesntexist; Check: Is64BitInstallMode
  95. Source: {#FreeSWITCH_64bit}\mod\mod_siren.dll; DestDir: {app}\mod; Flags: 64bit ignoreversion onlyifdoesntexist; Check: Is64BitInstallMode
  96. Source: {#FreeSWITCH_64bit}\mod\mod_sndfile.dll; DestDir: {app}\mod; Flags: 64bit ignoreversion onlyifdoesntexist; Check: Is64BitInstallMode
  97. Source: {#FreeSWITCH_64bit}\mod\mod_sofia.dll; DestDir: {app}\mod; Flags: 64bit ignoreversion onlyifdoesntexist; Check: Is64BitInstallMode
  98. Source: {#FreeSWITCH_64bit}\mod\mod_speex.dll; DestDir: {app}\mod; Flags: 64bit ignoreversion onlyifdoesntexist; Check: Is64BitInstallMode
  99. Source: {#FreeSWITCH_64bit}\mod\mod_tone_stream.dll; DestDir: {app}\mod; Flags: 64bit ignoreversion onlyifdoesntexist; Check: Is64BitInstallMode
  100. Source: {#FreeSWITCH_64bit}\mod\mod_voipcodecs.dll; DestDir: {app}\mod; Flags: 64bit ignoreversion onlyifdoesntexist; Check: Is64BitInstallMode
  101. ; required FreeSWICTCH dlls for 64bit build
  102. Source: {#FreeSWITCH_64bit}\pthreadVC2.dll; DestDir: {app}; Flags: 64bit ignoreversion onlyifdoesntexist; Check: Is64BitInstallMode
  103. Source: {#FreeSWITCH_64bit}\libspandsp.dll; DestDir: {app}; Flags: 64bit ignoreversion onlyifdoesntexist; Check: Is64BitInstallMode
  104. Source: {#FreeSWITCH_64bit}\libbroadvoice.dll; DestDir: {app}; Flags: 64bit ignoreversion onlyifdoesntexist; Check: Is64BitInstallMode
  105. Source: {#FreeSWITCH_64bit}\libapr.dll; DestDir: {app}; Flags: 64bit ignoreversion onlyifdoesntexist; Check: Is64BitInstallMode
  106. Source: {#FreeSWITCH_64bit}\libaprutil.dll; DestDir: {app}; Flags: 64bit ignoreversion onlyifdoesntexist; Check: Is64BitInstallMode
  107. Source: {#FreeSWITCH_64bit}\libteletone.dll; DestDir: {app}; Flags: 64bit ignoreversion onlyifdoesntexist; Check: Is64BitInstallMode
  108. Source: {#FreeSWITCH_64bit}\FreeSwitch.dll; DestDir: {app}; Flags: 64bit ignoreversion onlyifdoesntexist; Check: Is64BitInstallMode
  109. [Icons]
  110. Name: {group}\FSComm; Filename: {app}\FSComm.exe; IconFilename: {app}\freeswitch.ico; IconIndex: 0; WorkingDir: {app}\plugins
  111. Name: {commondesktop}\FSComm; Filename: {app}\FSComm.exe; Tasks: desktopicon; IconFilename: {app}\freeswitch.ico; IconIndex: 0; WorkingDir: {app}\plugins
  112. [Run]
  113. Filename: {app}\FSComm.exe; Description: {cm:LaunchProgram,FSComm}; Flags: nowait postinstall skipifsilent
  114. Filename: {tmp}\vcredist_x86.exe; Description: Microsoft Visual C++ 2008 Redistributable Package (x86); Parameters: /q; Flags: 32bit; Check: not Is64BitInstallMode
  115. Filename: {tmp}\vcredist_x64.exe; Description: Microsoft Visual C++ 2008 Redistributable Package (x64); Parameters: /q; Flags: 64bit; Check: Is64BitInstallMode