我在用inno setup 创建安装包,其中我
[Files]
Source: "D:\123_setup\app\*.*"; DestDir: "{app}\"; Flags: ignoreversion recursesubdirs createallsubdirs; BeforeInstall:
Source: "D:\123_setup\project\project\*.*"; DestDir: "{app}\htdocs\project\"; Flags: ignoreversion recursesubdirs createallsubdirs;
Source: "D:\123_setup\123\123Setup.exe"; DestDir: "{app}\123\"; Flags: ignoreversion recursesubdirs deleteafterinstall;
Source: "D:\123_setup\pic\*.*"; DestDir: "{app}\pic\";
Source: "D:\123_setup\license.txt"; DestDir: "{app}";
[Icons]
Name: "{group}\project"; Filename: "http://localhost/project/" ; WorkingDir: "{app}" ; Flags: runmaximized;
Name: "{group}\卸载project"; Filename: "{app}\unins000.exe"; WorkingDir: "{app}\htdocs\project";
Name: "{userdesktop}\project";IconFilename: "{app}\pic\default1.ico"; Filename: "http://localhost/project/"; Flags: runmaximized;
也就是从复制了文件到文件目录中,然后我卸载的时候只是想删除{app}\htdocs\project中的内容就可以了。我应该怎么办?现在我卸载总是把所有的文件都删除掉了。不知道从哪里设置呢?
------解决方案--------------------------------------------------------
。。。
------解决方案--------------------------------------------------------
...