Hi Michael,
I made my first tests of the update process always with an active user. Today I started to test additional scenarios.
It seems as if the scheduled update requires that the user is logged in. On a Windows 2000
system the scheduled task is never run if the user has logged off. On a Windows ME system,
a Message Box is displayed: runtime error in script, can not create shell notification icon.
Furthermore if the machine is off at the scheduled time you lose this notification event completely.
If I use the defaults (every Sunday, 3:00 AM) I never see a notification because my office machine is not running
on the weekend and the task is not rescheduled.
Is this normal behaviour?
Problem with scheduled updates
-
MichaelNesmith
- Posts: 3452
- Joined: Thu Dec 22, 2005 7:17 pm
- Contact:
I manually removed the "Run only if logged in" from my task. Now the task is started while I'm not logged in.MichaelNesmith wrote:The user does have to be logged in. You can change this in your task settings if you wish.
If I later log in I see the task status as running. But I do not see any visible window/icon. So this option doesn't help.
I want to be notified after login. What can I do?
Is there any schedule for an update? I have to get my setup out of the door in the next days.The error with Win9X systems has already been corrected.
-
MichaelNesmith
- Posts: 3452
- Joined: Thu Dec 22, 2005 7:17 pm
- Contact:
The updated script has already been posted to the forum.
I guess the other limitation is a Windows Task Scheduler limitation. Nothing that can be done about that.
I guess the other limitation is a Windows Task Scheduler limitation. Nothing that can be done about that.
Michael Nesmith
Install[b]Aware[/b]
[i]Home of The Next Generation MSI Installer[/i]
Get your free copy today - http://www.installaware.com/
Install[b]Aware[/b]
[i]Home of The Next Generation MSI Installer[/i]
Get your free copy today - http://www.installaware.com/
There is still a problem with Scheduled Tasks, this is what I did:
Then I noticed the following information in the Run As: NT AUTHORITY\\SYSTEM
I changed this to the current user and the task worked properly.
Other thing I noticed is that the new script is creating an update shortcut under \\WINDOWS\\Installer, it supposed to use the installation Title name, but the shortcut is named like this: $TITLE$ Updates for All Users so in the process of creating this shortcut the variable $TITLE$ is not being substituted.
- Create a new Scheduled Task in IA with the following info:
Task Name: $TITLE$ Updates
Interactive Task: Checked
Run Program: $UNINSTALLLINK$
Working Directory: empty
Command Line Parameters: /update
User Name and Password: blanks, because we just don't know that information.
Then I noticed the following information in the Run As: NT AUTHORITY\\SYSTEM
I changed this to the current user and the task worked properly.
Other thing I noticed is that the new script is creating an update shortcut under \\WINDOWS\\Installer, it supposed to use the installation Title name, but the shortcut is named like this: $TITLE$ Updates for All Users so in the process of creating this shortcut the variable $TITLE$ is not being substituted.
Edhy Rijo
Thom Child and Family Services
Thom Child and Family Services
-
MichaelNesmith
- Posts: 3452
- Joined: Thu Dec 22, 2005 7:17 pm
- Contact:
Edhy,
The update script does not create shortcuts with $TITLE$ in them. It uses #TITLE#. This has already been explained in the post, please review.
Additionally, if you specify empty username and passwords, don't expect the Schedule Task command to work. You have to specify a valid username and password.
The update script does not create shortcuts with $TITLE$ in them. It uses #TITLE#. This has already been explained in the post, please review.
Additionally, if you specify empty username and passwords, don't expect the Schedule Task command to work. You have to specify a valid username and password.
Michael Nesmith
Install[b]Aware[/b]
[i]Home of The Next Generation MSI Installer[/i]
Get your free copy today - http://www.installaware.com/
Install[b]Aware[/b]
[i]Home of The Next Generation MSI Installer[/i]
Get your free copy today - http://www.installaware.com/
-
MichaelNesmith
- Posts: 3452
- Joined: Thu Dec 22, 2005 7:17 pm
- Contact:

