Solved

How can I use Innosetup script to updat the application online

Posted on 2006-10-30
3
577 Views
Last Modified: 2012-06-22
I want to update the user application once he logs in, is there any script for that using innosetup ?
Thanks
0
Comment
Question by:thinobjects
3 Comments
 
LVL 5

Accepted Solution

by:
NickGeorghiou earned 250 total points
Comment Utility
Hi,
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:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce

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...

Regds,
Nick
0

Featured Post

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

This article covers general Notes 8.5 troubleshooting information including recreating the Notes\Data folder.
The article will include the best Data Recovery Tools along with their Features, Capabilities, and their Download Links. Hope you’ll enjoy it and will choose the one as required by you.
The viewer will learn how to set up a document for the web and print and the recommended PPI for printing.
The viewer will learn how to successfully create a multiboot device using the SARDU utility on Windows 7. Start the SARDU utility: Change the image directory to wherever you store your ISOs, this will prevent you from having 2 copies of an ISO wit…

728 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now