; Script generated by the Inno Setup Script Wizard.
; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES!
#define MyAppName "TEST"
#define MyAppVersion "1.0.1"
#define MyAppPublisher "TEST"
#define MyAppExeName "TEST.exe"
[Setup]
; NOTE: The value of AppId uniquely identifies this application.
; Do
not
use the same AppId value
in
installers
for
other applications.
; (To generate a new GUID, click Tools | Generate GUID inside the IDE.)
AppId
=
{{
7A137EE6
-
DCEF
-
4435
-
8540
-
C972E19F283E}
AppName
=
{
#MyAppName}
AppVersion
=
{
#MyAppVersion}
;AppVerName
=
{
#MyAppName} {#MyAppVersion}
AppPublisher
=
{
#MyAppPublisher}
DefaultDirName
=
{pf}\{
#MyAppName}
DisableProgramGroupPage
=
yes
OutputBaseFilename
=
setup
Compression
=
lzma
SolidCompression
=
yes
[Languages]
Name:
"english"
; MessagesFile:
"compiler:Default.isl"
[Tasks]
Name:
"desktopicon"
; Description:
"{cm:CreateDesktopIcon}"
; GroupDescription:
"{cm:AdditionalIcons}"
; Flags: unchecked
Name:
"quicklaunchicon"
; Description:
"{cm:CreateQuickLaunchIcon}"
; GroupDescription:
"{cm:AdditionalIcons}"
; Flags: unchecked; OnlyBelowVersion:
0
,
6.1
[Files]
Source:
"C:\Users\xugen\Documents\Visual Studio 2010\Projects\ComRW\Release\SNRW.exe"
; DestDir:
"{app}"
; Flags: ignoreversion
Source:
"C:\Users\xugen\Documents\Visual Studio 2010\Projects\ComRW\Release\ReadMe.txt"
; DestDir:
"{app}"
; Flags: ignoreversion
Source:
"C:\Users\xugen\Desktop\mscomm32_ocx\mscomm32\MSCOMM.SRG"
; DestDir:
"{app}\Conf"
; Flags: ignoreversion
Source:
"C:\Users\xugen\Desktop\mscomm32_ocx\mscomm32\MSCOMM32.DEP"
; DestDir:
"{app}\Conf"
; Flags: ignoreversion
Source:
"C:\Users\xugen\Desktop\mscomm32_ocx\mscomm32\MSCOMM32.oca"
; DestDir:
"{app}\Conf"
; Flags: ignoreversion
;Source:
"C:\Users\xugen\Desktop\mscomm32_ocx\mscomm32\mscomm32.ocx"
; DestDir:
"{app}\Conf"
; Flags: ignoreversion
;
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
;这里是关键,打包安装自动注册
;
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Source:
"C:\Users\xugen\Desktop\mscomm32_ocx\mscomm32\mscomm32.ocx"
;DestDir:
"{app}\Conf"
; Flags: regserver
; NOTE: Don't use
"Flags: ignoreversion"
on
any
shared system files
[Icons]
Name:
"{commonprograms}\{#MyAppName}"
; Filename:
"{app}\{#MyAppExeName}"
Name:
"{commondesktop}\{#MyAppName}"
; Filename:
"{app}\{#MyAppExeName}"
; Tasks: desktopicon
Name:
"{userappdata}\Microsoft\Internet Explorer\Quick Launch\{#MyAppName}"
; Filename:
"{app}\{#MyAppExeName}"
; Tasks: quicklaunchicon
[Run]
Filename:
"{app}\{#MyAppExeName}"
; Description:
"{cm:LaunchProgram,{#StringChange(MyAppName, '&', '&&')}}"
; Flags: nowait postinstall skipifsilent