Solved

How can I use Innosetup script to updat the application online

Posted on 2006-10-30
3
623 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 5

Accepted Solution

by:
NickGeorghiou earned 250 total points
ID: 17840045
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

Secure Your Active Directory - April 20, 2017

Active Directory plays a critical role in your company’s IT infrastructure and keeping it secure in today’s hacker-infested world is a must.
Microsoft published 300+ pages of guidance, but who has the time, money, and resources to implement? Register now to find an easier way.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I annotated my article on ransomware somewhat extensively, but I keep adding new references and wanted to put a link to the reference library.  Despite all the reference tools I have on hand, it was not easy to find a way to do this easily. I finall…
All of the resources available today make learning a new digital media easier than ever-- if you know where to begin. This is a clear, simple guide to a few of the basic digital art mediums and how to begin learning them on your own.
This video demonstrates how to use each tool, their shortcuts, where and when to use them, and how to use the keyboard to improve workflow.
The viewer will learn how to successfully download and install the SARDU utility on Windows 8, without downloading adware.

749 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