inno steup <br><br><br><br><br><br>;-------------------------------- 桌面快递安装脚本---------------------------------------------<br>;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;<br><br>[Setup]<br>AppName=桌面快递<br>AppVerName=桌面快递 V0.8<br><br>;这个指示的值用是在向导的选择开始菜单文件夹页中使用的默认开始菜单文件夹名。<br>;如果这个指示是空白或未指定,它将用“默认”作为名字<br>DefaultDirName={pf}/DesktopExpress<br>AppPublisher=首都在线<br><br>; Since no icons will be created in "{group}", we don't need the wizard<br>; to ask for a Start Menu folder name:<br>DefaultGroupName=桌面快递 V0.8<br><br>;指定“自述”文件名 (可选),用 .txt 或 .rtf (富文本) 格式,用于在安装完成后显示<br>;InfoAfterFile=D:/DesktopSoftware/InfoAfterFile.txt<br>DisableProgramGroupPage=yes<br>;Compression=yes<br>SolidCompression=yes<br>UninstallDisplayIcon={app}/Uninstall.exe<br>OutputDir=D:/Desktop安装程序<br>LicenseFile=D:/DesktopSoftware/InfoAfterFile.txt<br><br>[Tasks]<br>Name: "desktopicon"; Description: "创建桌面快捷方式"; GroupDescription: "添加快捷方式:"; Flags: checkedonce<br>Name: "quicklaunchicon"; Description: "添加到快速启动栏"; GroupDescription: "添加快捷方式:"; Flags: checkedonce<br>;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;<br>[Files]<br>;这是定义安装程序安装文件到用户系统中的可选文件段<br>;软件本身包含的文件外,还必须包含相关的链接库<br>;以下即软件本身的文件,注:安装目录下有一个 "/Data" 的子目录<br><br>;Bin Dir<br>Source: "D:/DesktopSoftware/Client/bin/DesktopSoftware.EXE"; DestDir: "{app}"; Flags: ignoreversion<br>Source: "D:/DesktopSoftware/Client/bin/Desktop.ini"; DestDir: "{app}"; Flags: ignoreversion<br>Source: "D:/DesktopSoftware/Client/bin/UnDownload.xml"; DestDir: "{app}"; Flags: ignoreversion<br>Source: "D:/DesktopSoftware/Client/bin/duping.scr"; DestDir: "{app}"; Flags: ignoreversion<br><br>;Download Dir<br>Source: "D:/DesktopSoftware/Client/bin/Download/DesktopPic/*"; DestDir: "{app}/Download/DesktopPic"; Flags: ignoreversion<br>Source: "D:/DesktopSoftware/Client/bin/Download/Desktop_New.xml"; DestDir: "{app}/Download"; Flags: ignoreversion<br>Source: "D:/DesktopSoftware/Client/bin/Download/Desktop_Old.xml"; DestDir: "{app}/Download"; Flags: ignoreversion<br>Source: "D:/DesktopSoftware/MyIcon.ico"; DestDir: "{app}"; Flags: ignoreversion<br><br>;Client Dir<br>;Source: "D:/DesktopSoftware/使用须知"; DestDir: "{app}"; Flags: isreadme<br><br>;Skin<br>;Source: "D:/DesktopSoftware/Client/Skin/*"; DestDir: "{app}/Client/Skin"; Flags: ignoreversion<br><br>; 注意: 不要在任何共享系统文件中使用“Flags: ignoreversion”<br>;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;<br>[Dirs]<br>Name: "{app}/Download/DesktopPic"<br><br><br>[Icons]<br>;这个可选段定义所有创建在开始菜单和/或其它位置 (比如桌面) 的快捷方式<br>;桌面快捷方式<br>;Name: "{commondesktop}/桌面快递"; Filename: "{app}/DesktopSoftware.EXE";IconFilename: "{app}/myicon.ico"<br>;添加到快速启动栏<br>;Name: "{quicklaunch}/桌面快递"; Filename: "{app}/Client/Bin/DesktopSoftware.EXE";IconFilename: "{app}/Bin/myicon.ico"<br>Name: "{group}/卸载桌面快递"; Filename: "{uninstallexe}"<br>Name: "{userappdata}/Microsoft/Internet Explorer/Quick Launch/桌面快递"; Filename: "{app}/DesktopSoftware.EXE"; WorkingDir: "{app}/bin"; Tasks: "quicklaunchicon";<br><br>Name: "{group}/桌面快递"; Filename: "{app}/DesktopSoftware.EXE"<br>Name: "{userdesktop}/桌面快递"; Filename: "{app}/DesktopSoftware.EXE"; Tasks: desktopicon<br><br><br>[Run]<br>Filename: "{app}/DesktopSoftware.EXE"; Description: "运行<桌面快递>"; Flags: nowait postinstall skipifsilent<br><br>[UninstallDelete]<br>Type: filesandordirs; Name: "{app}/*"