Tima182
Не вижу в чем проблема.
Подставил файлы, скомпилировал, установил, затем удалил.
Все работает. Остатков программы, не обнаружил.
[more]
Код:
#define MyAppName "SpinTires 2014"
#define MyAppVersion "0.2"
#define MyAppExeName "SpinTires.exe"
[Setup]
AppId={{2D30D0EC-6B19-4EF8-9D1A-4F0BA1F9AA36}
AppName={#MyAppName}
AppVersion={#MyAppVersion}
DefaultDirName={pf}\{#MyAppName}
DefaultGroupName={#MyAppName}
AllowNoIcons=yes
OutputDir=.
Compression=lzma/ultra
SolidCompression=true
InternalCompressLevel=ultra
PrivilegesRequired=none
CompressionThreads=8
[Languages]
Name: russian; MessagesFile: compiler:Languages\Russian.isl
[Files]
Source: InstallFiles\*; DestDir:{app}; Flags: ignoreversion recursesubdirs createallsubdirs;
;Source: C:\Ïðîãðàììû\Spintires20141\SpinTires.exe; DestDir: {app}; Flags: ignoreversion
;Source: C:\Ïðîãðàììû\Spintires20141\*; DestDir: {app}; Flags: ignoreversion recursesubdirs createallsubdirs
[Registry]
Root: HKCU; SubKey: Software\Spin Tires; Flags: uninsdeletekey
[Tasks]
Name: desktopicon; Description: {cm:CreateDesktopIcon} SpinTires; GroupDescription: {cm:AdditionalIcons};
Name: desktopicon2; Description: {cm:CreateDesktopIcon} SPMM; GroupDescription: {cm:AdditionalIcons}; Flags: unchecked
[Icons]
Name: {userdesktop}\{#MyAppName}; Filename: {app}\SpinTires.exe; Tasks: desktopicon; WorkingDir: {app}
Name: {userdesktop}\smp; Filename: {app}\spmmm.exe; Tasks: desktopicon2; WorkingDir: {app}; IconIndex: 0
Name: {group}\{cm:UninstallProgram,{#MyAppName}}; Filename: {uninstallexe}
[Run]
Filename: {app}\{#MyAppExeName}; Description: {cm:LaunchProgram,{#StringChange(MyAppName, '&', '&&')}}; Flags: nowait postinstall skipifsilent
[UninstallDelete]
Type: filesandordirs; Name: "{app}"
Type: filesandordirs; Name: "{localappdata}\spintires";
Type: filesandordirs; Name: "{userappdata}\spintires";
Не вижу в чем проблема.
Подставил файлы, скомпилировал, установил, затем удалил.
Все работает. Остатков программы, не обнаружил.
[more]
Код:
#define MyAppName "SpinTires 2014"
#define MyAppVersion "0.2"
#define MyAppExeName "SpinTires.exe"
[Setup]
AppId={{2D30D0EC-6B19-4EF8-9D1A-4F0BA1F9AA36}
AppName={#MyAppName}
AppVersion={#MyAppVersion}
DefaultDirName={pf}\{#MyAppName}
DefaultGroupName={#MyAppName}
AllowNoIcons=yes
OutputDir=.
Compression=lzma/ultra
SolidCompression=true
InternalCompressLevel=ultra
PrivilegesRequired=none
CompressionThreads=8
[Languages]
Name: russian; MessagesFile: compiler:Languages\Russian.isl
[Files]
Source: InstallFiles\*; DestDir:{app}; Flags: ignoreversion recursesubdirs createallsubdirs;
;Source: C:\Ïðîãðàììû\Spintires20141\SpinTires.exe; DestDir: {app}; Flags: ignoreversion
;Source: C:\Ïðîãðàììû\Spintires20141\*; DestDir: {app}; Flags: ignoreversion recursesubdirs createallsubdirs
[Registry]
Root: HKCU; SubKey: Software\Spin Tires; Flags: uninsdeletekey
[Tasks]
Name: desktopicon; Description: {cm:CreateDesktopIcon} SpinTires; GroupDescription: {cm:AdditionalIcons};
Name: desktopicon2; Description: {cm:CreateDesktopIcon} SPMM; GroupDescription: {cm:AdditionalIcons}; Flags: unchecked
[Icons]
Name: {userdesktop}\{#MyAppName}; Filename: {app}\SpinTires.exe; Tasks: desktopicon; WorkingDir: {app}
Name: {userdesktop}\smp; Filename: {app}\spmmm.exe; Tasks: desktopicon2; WorkingDir: {app}; IconIndex: 0
Name: {group}\{cm:UninstallProgram,{#MyAppName}}; Filename: {uninstallexe}
[Run]
Filename: {app}\{#MyAppExeName}; Description: {cm:LaunchProgram,{#StringChange(MyAppName, '&', '&&')}}; Flags: nowait postinstall skipifsilent
[UninstallDelete]
Type: filesandordirs; Name: "{app}"
Type: filesandordirs; Name: "{localappdata}\spintires";
Type: filesandordirs; Name: "{userappdata}\spintires";