浏览代码

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 }
   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);
 end;

+ 2 - 2
Examples/Example2.iss

@@ -22,5 +22,5 @@ Source: "MyProg.chm"; DestDir: "{app}"
 Source: "Readme.txt"; DestDir: "{app}"; Flags: isreadme
 
 [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"