?
Solved

How can I use Innosetup script to updat the application online

Posted on 2006-10-30
3
Medium Priority
?
640 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 1000 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

Learn how to optimize MySQL for your business need

With the increasing importance of apps & networks in both business & personal interconnections, perfor. has become one of the key metrics of successful communication. This ebook is a hands-on business-case-driven guide to understanding MySQL query parameter tuning & database perf

Question has a verified solution.

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

In our personal lives, we have well-designed consumer apps to delight us and make even the most complex transactions simple. Many enterprise applications, however, are a bit behind the times. For an enterprise app to be successful in today's tech wo…
This post contains step-by-step instructions for setting up alerting in Percona Monitoring and Management (PMM) using Grafana.
This video demonstrates basic masking and how to edit the mask to reveal the desired image.
This video Micro Tutorial shows how to password-protect PDF files with free software. Many software products can do this, such as Adobe Acrobat (but not Adobe Reader), Nuance PaperPort, and Nuance Power PDF, but they are not free products. This vide…

741 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