Hi Catalin, Thank you for our answer and sorry for the misunderstanding. Actually, I already applied your instructions on my main aip file. I applied this to the sample.aip (in attachment) but it still don't work... In the log file I found : ADDLOCAL = Feature1,Microsoft.NET5.0.4,Node.js (Feature2 w...
Thank you for your answer. I applied your instructions but the result is the same.
Do you know another workaround to enforce reset on all the feature states actions?
Hi Catalin, Thank you for your involvement, really! In fact, my Powershell custom actions are big. That is the reason why AI convert it to Base64 in the Target element. Currently, I have to maintain the scripts both in the aip file (using the UI) and the script files stored on a network share. The g...
Hello, How are encoded the custom actions in AI_DATA_SETTER? I need to encode it by myself in order to modify the xml aip file directly. Example: <ROW Action="AI_DATA_SETTER_12" Type="51" Source="SetEnvironmentVariables_RabbitMQ" Target =" AEkAcwA2ADQAQ.....MALQBSAGEAYgBiAGkAdABNAFEAIg== "> I tried ...
Hello, How to set an existing property? For example : ARPURLINFOABOUT I tried the code below, but since the property ARPURLINFOABOUT already exists, we get an error... $objPropComp = $project.PropertyComponent $PropARPURLINFOABOUT = $objPropComp.NewProperty("ARPURLINFOABOUT","https://www.advancedins...
Hello, From the code below, I want to associate the component "MyAppFolder" to the feature "MyFeature". How to do that? $advinst = New-Object -ComObject AdvancedInstaller $project = $advinst.CreateProjectS("architect") $project.ProductDetails.Name = "MyApp" $project.ProductDetails.Version = "3.0.0" ...
Hello, I tried to create a custom action that execute a Powershell script file. This is my code: $advinst = New-Object -ComObject AdvancedInstaller $project = $advinst.CreateProjectS("architect") $project.ProductDetails.Name = "myProduct" $project.ProductDetails.Version = "1.0.1" $project.ProductDet...