0
我有一個使用HM NIS Edit創建的安裝程序。我希望能夠取消隱藏VDF部分,如果我的檢查發現它沒有安裝。並在安裝時隱藏它,也不要執行該嵌入式安裝程序。NSIS如何在返回特定值時取消隱藏某個部分?
我希望我明確自己。
這是函數:
Function .onInit #Check's wether the installer is in your installation folder. onInit means that it checks for that even before the installer is initialized.
${If} ${FileExists} "$EXEDIR\VDF2012-17.0.22.8.Client.exe"
MessageBox MB_OK "VDF found"
${Else}
MessageBox MB_OK "The Visual DataFlex setup was not found in the installation folder. However the installation of $(^Name) will still continue."
${EndIf}
謝謝,就像一個魅力! –