Hello, Please ensure that your script works if it is manually executed(outside of the setup package). If it does and you still get an error, you could disable "Fail installation if custom action returns an error" option from your Run PowerShell Script File Custom Action. Best regards, Sor...
Hello I have a powershell script which I am trying to execute it as custom action after the installation was done, but I am getting some error at the end while executing it. So can some one help me TestPowerShel.aip Script I am trying to execute is as follows #Creates Scheduled Task Actions $TaskAct...
Hi all I have an AIP where it is having some folder and services defined to some path "C:\oldpath" now when I am updating the folders and trying to modify the services using command line it is not getting updated. It is still referring to old path instead of new path because when I build t...
Here is the code I tried but I am still getting default registry $InstallerName = "Installer1.2.10" $SourceDir = "D:\AdvanceInstaller" $AdvanceInstallerPath = Get-ChildItem "HKLM:\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall" | ForEach-Object {Get-Ite...