How can I use Innosetup script to updat the application online

I want to update the user application once he logs in, is there any script for that using innosetup ?
Who is Participating?
NickGeorghiouConnect With a Mentor Commented:
I am not sure I fully understand what you want to do. Do you want to run something once only after a user has logged in for the first time after an install? If so, then you can set a registry key for this at:


For example:
In inno setup file:

Root: HKLM; Subkey: "SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce"; ValueType: string; ValueName: "MyExtraSetup"; ValueData: "C:\Program Files\MyApp\MyExtraSetup.bat"; Flags: uninsdeletevalue;

Your installer would install an extra script or executable and you point to this in the RunOnce string value...

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.