Переглянути джерело

Found some remaining common forms.

Martijn Laan 7 роки тому
батько
коміт
317e123ffb
2 змінених файлів з 3 додано та 3 видалено
  1. 1 1
      Examples/CodeAutomation2.iss
  2. 2 2
      Examples/Example2.iss

+ 1 - 1
Examples/CodeAutomation2.iss

@@ -80,7 +80,7 @@ begin
 
 
   { Save the shortcut }
   { Save the shortcut }
   PF := IPersistFile(Obj);
   PF := IPersistFile(Obj);
-  OleCheck(PF.Save(ExpandConstant('{commondesktop}\CodeAutomation2 Test.lnk'), True));
+  OleCheck(PF.Save(ExpandConstant('{autodesktop}\CodeAutomation2 Test.lnk'), True));
 
 
   MsgBox('Saved a shortcut named ''CodeAutomation2 Test'' on the common desktop.', mbInformation, mb_Ok);
   MsgBox('Saved a shortcut named ''CodeAutomation2 Test'' on the common desktop.', mbInformation, mb_Ok);
 end;
 end;

+ 2 - 2
Examples/Example2.iss

@@ -22,5 +22,5 @@ Source: "MyProg.chm"; DestDir: "{app}"
 Source: "Readme.txt"; DestDir: "{app}"; Flags: isreadme
 Source: "Readme.txt"; DestDir: "{app}"; Flags: isreadme
 
 
 [Icons]
 [Icons]
-Name: "{commonprograms}\My Program"; Filename: "{app}\MyProg.exe"
-Name: "{commondesktop}\My Program"; Filename: "{app}\MyProg.exe"
+Name: "{autoprograms}\My Program"; Filename: "{app}\MyProg.exe"
+Name: "{autodesktop}\My Program"; Filename: "{app}\MyProg.exe"