We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

davinhardoyo
Posts: 2
Joined: Tue Aug 05, 2014 11:00 am

Uninstallation update serial number usage flag?

Hi,

I'm very new here. I couldn't find the answer to my problem yet.

I would like to ask, by using PHP script, I was able to tell the server for my serial number validation that the serial number that were inputted has already been used, is it possible to reverse it during the uninstallation process, so that the serial number could be reused if the user installed it in a wrong computer?

Thanks in advance and looking forward for a quick answer, my project is nearing the end and I hate to leave it hanging.
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: Uninstallation update serial number usage flag?

Hello and welcome to Advanced Installer forums,

In order to achieve that, you can go in the Custom Actions page and add a custom action which will send information to your web server that the package has been uninstalled. Make sure that this custom action is only running on the Uninstall Execution Stage Condition.

For example, you can use our predefined Send install information to your web server custom action. The data is collected and send it to your web server for processing.

Please let us know if that helped.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
davinhardoyo
Posts: 2
Joined: Tue Aug 05, 2014 11:00 am

Re: Uninstallation update serial number usage flag?

Dan wrote:Hello and welcome to Advanced Installer forums,

In order to achieve that, you can go in the Custom Actions page and add a custom action which will send information to your web server that the package has been uninstalled. Make sure that this custom action is only running on the Uninstall Execution Stage Condition.

For example, you can use our predefined Send install information to your web server custom action. The data is collected and send it to your web server for processing.

Please let us know if that helped.

Best regards,
Dan
Thanks!

So what you were saying is to send the information that the software has been uninstalled? Could I know the function that forwards the information that the program has been uninstalled to my MySQL database so that the flag that indicates the serial number has been used set to 0 (zero)? And does it also work during installation rollback when the user aborts the installation in mid process or something went wrong during the installation?

I also researched that it is so much easier using the Enterprise edition with the SQL database feature, but is it possible to do it with the Professional edition?

Best regards,
Davin Hardoyo
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: Uninstallation update serial number usage flag?

Hi Davin,
Could I know the function that forwards the information that the program has been uninstalled to my MySQL database so that the flag that indicates the serial number has been used set to 0 (zero)?
You can create a custom action which will send the required information to the server so you can reverse the changes made during the uninstall.
In order to select a custom action to be executed during the uninstall, you can go in the Custom Actions page only enable the Uninstall option from the Custom Action Properties.
And does it also work during installation rollback when the user aborts the installation in mid process or something went wrong during the installation?
You can schedule a custom action to be executed during installation rollback from its execution time options.

If there is anything else I can help you with, please let me know.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Building Installers”