3
我嘗試按以下方式使用宏/變量,但後來出現錯誤。你能建議嗎?如何在Inno Setup中使用變量宏?
#define AnnotateDir "C:\Users\new_skin\Annotate\project"
#define AnnotateUserInstallAppData "{userappdata}\Annotate3"
[Files]
Source: {AnnotateDir}\bin\gm_annotate.exe; DestDir: {app}; Flags: ignoreversion external
謝謝!!!!!!!!! –
不客氣!只是一個提示。如果您希望看到預處理腳本(所有定義的變量都被替換),您可以在腳本末尾添加像'#expr SaveToFile(「c:\ PreprocessedScript.iss」)''這樣的行,您將得到它保存到指定的文件中。 – TLama