Advanced Installer Community - Search

Search found 13 matches

Go to advanced search

by jbothe
Tue Jun 09, 2020 11:45 am
Forum: Common Problems
Topic: Install-time option to enable/disable auto updates
Replies: 10
Views: 11415
 
Jump to post

Re: Install-time option to enable/disable auto updates

Hi Daniel,

Looking at other ways to enable/disable the auto-update check... we need to be able to toggle this at install time and runtime.

Rather than simply not install the task, ideally we'd like to always install the task and always let it run, but move the enable/disable check logic.

I can ...
by jbothe
Fri Jun 05, 2020 1:52 pm
Forum: Common Problems
Topic: Getting "Reboot Required" notifications even though the option to prevent them is enabled
Replies: 6
Views: 6906
 
Jump to post

Re: Getting "Reboot Required" notifications even though the option to prevent them is enabled

Hi Catalin,

OK, thanks... so does this look right? Should the any of these options be disabled?

Image
BTW, we are also including the 2019 VC++ redistributable as a merge module... could this be causing an issue?

Thanks,
John
by jbothe
Fri Jun 05, 2020 2:57 am
Forum: Common Problems
Topic: Getting "Reboot Required" notifications even though the option to prevent them is enabled
Replies: 6
Views: 6906
 
Jump to post

Re: Getting "Reboot Required" notifications even though the option to prevent them is enabled

Hi again Catalin,

We set MSIRESTARTMANAGERCONTROL to "Disable" using an install parameter, this didn't seem to have an impact, we are still seeing reboot required messages.

This is problematic because these installers need to be pushed out to client devices using silent installs and sometimes it ...
by jbothe
Thu Jun 04, 2020 10:59 pm
Forum: Common Problems
Topic: Getting "Reboot Required" notifications even though the option to prevent them is enabled
Replies: 6
Views: 6906
 
Jump to post

Re: Getting "Reboot Required" notifications even though the option to prevent them is enabled

Thanks Catalin, i'll give that a try.

How about the way i've configured the service for upgrade, will that correctly stop the service, install the new files and start it again?

Thanks,
John
by jbothe
Thu Jun 04, 2020 6:54 am
Forum: Common Problems
Topic: Getting "Reboot Required" notifications even though the option to prevent them is enabled
Replies: 6
Views: 6906
 
Jump to post

Getting "Reboot Required" notifications even though the option to prevent them is enabled

Hi,

We have a project that is installing (and updating) a service. We are getting "Reboot Required" notifications like this:

https://monosnap.com/image/akupKkfizEEQ5PGsWgyGdZyl1ydZPg
Even though we have suppressed reboot messages:

https://monosnap.com/image/6FnlS2O5ZBJQWQt9ye7bLhbtkcNGAk
We ...
by jbothe
Thu May 07, 2020 6:04 am
Forum: Common Problems
Topic: Install-time option to enable/disable auto updates
Replies: 10
Views: 11415
 
Jump to post

Re: Install-time option to enable/disable auto updates

Hey Daniel,

Thanks for the feedback, we ended up using a scheduled task to run the updater using the System account as per your suggestion.

This seems to be working well.

Thanks,
John
by jbothe
Fri Apr 17, 2020 7:46 am
Forum: Common Problems
Topic: Service restarting before preserved registry values are restored
Replies: 6
Views: 4407
 
Jump to post

Re: Service restarting before preserved registry values are restored

Hi Catalin,

Thanks for the reply.

What about if instead of the powershell script, we just use a "set property" custom action to conditionally assign the value of the registry property (from the search result, if it exists) to the original property that gets written to the registry anyway (before ...
by jbothe
Thu Apr 16, 2020 1:39 am
Forum: Common Problems
Topic: Service restarting before preserved registry values are restored
Replies: 6
Views: 4407
 
Jump to post

Re: Service restarting before preserved registry values are restored

Hi Catalin,

Thanks for getting back to me... you almost summarised the problem exactly, here's specifically what is happening:

Installer ships with a property called URL, this has a default value, say api.example.com
This URL property is written to the registry at install time.
Service is ...
by jbothe
Wed Apr 15, 2020 8:55 am
Forum: Common Problems
Topic: Install-time option to enable/disable auto updates
Replies: 10
Views: 11415
 
Jump to post

Re: Install-time option to enable/disable auto updates

It turns out running:
updater.exe /silentall
periodically from our service works just fine, we had another problem that was preventing this from working as expected, all good now.
by jbothe
Wed Apr 15, 2020 8:03 am
Forum: Common Problems
Topic: Service restarting before preserved registry values are restored
Replies: 6
Views: 4407
 
Jump to post

Service restarting before preserved registry values are restored

Hi,

Our installer project is almost complete, with auto-updates! We have one last problem.

We are installing a service along with some registry keys (to store configuration for this service). When upgrading, we are preserving some of our registry keys so they don't get overwritten or destroyed ...
by jbothe
Wed Apr 15, 2020 1:48 am
Forum: Common Problems
Topic: Install-time option to enable/disable auto updates
Replies: 10
Views: 11415
 
Jump to post

Re: Install-time option to enable/disable auto updates

Hi again Daniel,

We're looking at alternatives to triggering the update check. Our application runs as a service, so the user that installed the application (and owns the update task) may not always be logged in. So we were thinking about triggering updater.exe from our service once per day. Do you ...
by jbothe
Wed Apr 08, 2020 4:59 am
Forum: Common Problems
Topic: Install-time option to enable/disable auto updates
Replies: 10
Views: 11415
 
Jump to post

Re: Install-time option to enable/disable auto updates

Perfect, thanks Daniel!
by jbothe
Tue Mar 31, 2020 12:07 pm
Forum: Common Problems
Topic: Install-time option to enable/disable auto updates
Replies: 10
Views: 11415
 
Jump to post

Install-time option to enable/disable auto updates

Hi!

I'm looking for ways to ask the user at install time if auto updates should be enabled or disabled. I'm installing a windows service and want to avoid any per-user settings (e.g this option should be machine wide). I'm using the built-in task to run the updater daily (using the service helper ...

Go to advanced search