The condition (AI_INSTALL AND (NOT INSTALLED)) ) used for your "SendCollectedData" custom action means that your custom action will be executed during package installation only if your package is not already installed on target machine (only if you are performing a first time installation).What is the syntax AI_INSTALL and )NOT INSTALLED mean
why isn't there an AI_INSTALL AND INSTALLED
The AI_SETUPEXEPATH is an internal Advanced Installer property and is not currently visible on all fields within Advanced Installer project. We'll try to add an improvement regarding this in a future version of Advanced Installer. Thank you for your suggestion.Why doesn't the property AI_SETUPEXEPATH show up when you search for it in a property box.
In order to achieve what you want you should follow our "Collect installation data and send it to a web server" how to's steps. Please keep in mind that, as it is mentioned in the above article, your web server must host a web application capable of processing and storing the received information. You can use the Apache/PHP/MySQL suite or IIS/ASP.NET/MS-SQL suite or any other web technology convenient to you.How do you make this work?
If you don't want to use our "Send install information to your web server" custom action you can try to create your own custom action which will post the desired properties values to your script hosted on your server.Is there something you can recommend to do the post directly in a script?
Yes, you can launch your application at the end of installation and pass the related properties as arguments for your application.Can I pass the properties to my application and take care of it myself?
How do you make this work?In order to achieve what you want you should follow our "Collect installation data and send it to a web server" how to's steps. Please keep in mind that, as it is mentioned in the above article, your web server must host a web application capable of processing and storing the received information. You can use the Apache/PHP/MySQL suite or IIS/ASP.NET/MS-SQL suite or any other web technology convenient to you.
Please keep in mind that a custom action return value of "1" in log indicate that action completed successfully.Is there any more I can do to debug the following. I have attached a Send User Data to an event and the advanced installer log seems to indicate that it was attempted. I get back a "1" which indicates a failure.
You can try to use a PHP script similar with our "collect_file.php" script example attached to our "Collect installation data and send it to a web server" how to. For example, you can download our "collect_file.php" script and host it on your server. Then, you can add a "Send install information to your web server" custom action which will contain in the "URL" field the URL of the "collect_file.php" script hosted on your server. The "collect_file.php" script create a "users.log" file in a "installs" folder which will be created in the containing directory of the "collect_file.php" script hosted on your server.How do I debug it?