Just updated from 17.30.0203 to 0204 using "update 1;" works great, thanks for this. One thing would be nice, like the SimpleUpdater script, would be to relaunch XY.
Maybe add a yes/no to relaunch?
update 1; relaunch?
-
admin
- Site Admin
- Posts: 66677
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: update 1; relaunch?
As I said in the change log:
Code: Select all
- When the update is finished you have to manually restart XYplorer. (If
it would be restarted from the installer it would inherit the elevated
rights of the installer, something you should better control
yourself.)
FAQ | XY News RSS | XY X
-
JLoftus
- Posts: 600
- Joined: 22 Jan 2014 14:58
Re: update 1; relaunch?
ah, missed that! Sorry Don, thanks!
-
JLoftus
- Posts: 600
- Joined: 22 Jan 2014 14:58
Re: update 1; relaunch?
BTW, I don't run XY elevated, and the SimpleUpdater script doesn't prompt UAC, yet it restarts?
-
admin
- Site Admin
- Posts: 66677
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: update 1; relaunch?
Then your XYplorer.exe is not located in a protected folder.JLoftus wrote:BTW, I don't run XY elevated, and the SimpleUpdater script doesn't prompt UAC, yet it restarts?
I'm still thinking about a way to handle this...
FAQ | XY News RSS | XY X
-
highend
- Posts: 14996
- Joined: 06 Feb 2011 00:33
- Location: Win Server 2022 @100%
Re: update 1; relaunch?
Couldn't you just check if the current XY is a portable or installed one (portable = Startup.ini is missing ||v17.30.0205 - 2016-11-19 12:58
+ SC update enhanced: Added flags that allow to auto-run the app after
install. Note, however, that the app will be run as administrator. There
is no way to run it as user (since it's done from the elevated installer).
XYplorer.exe is NOT in an UAC protected folder)
and start the installer with / without admin permissions?
One of my scripts helped you out? Please donate via Paypal
-
JLoftus
- Posts: 600
- Joined: 22 Jan 2014 14:58
Re: update 1; relaunch?
admin wrote:Then your XYplorer.exe is not located in a protected folder.JLoftus wrote:BTW, I don't run XY elevated, and the SimpleUpdater script doesn't prompt UAC, yet it restarts?
I'm still thinking about a way to handle this...
Indeed, My XY is in fact installed in "C:\Program Files (x86)" however, I did grant my non-admin user full rights to that folder some time ago. Now it makes more sense, thanks.
-
Marco
- Posts: 2354
- Joined: 27 Jun 2011 15:20
Re: update 1; relaunch?
Don, you're free to reuse my code 
Tag Backup - SimpleUpdater - XYplorer Messenger - The Unofficial XYplorer Archive - Everything in XYplorer
Don sees all [cit. from viewtopic.php?p=124094#p124094]
Don sees all [cit. from viewtopic.php?p=124094#p124094]
-
admin
- Site Admin
- Posts: 66677
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: update 1; relaunch?
Yes, I could. But that would require me to update, compile, and upload two separate installers for each beta release since the execution level has to be decided at compile time, not at runtime. That's just too much trouble.highend wrote:Couldn't you just check if the current XY is a portable or installed one (portable = Startup.ini is missing ||v17.30.0205 - 2016-11-19 12:58
+ SC update enhanced: Added flags that allow to auto-run the app after
install. Note, however, that the app will be run as administrator. There
is no way to run it as user (since it's done from the elevated installer).
XYplorer.exe is NOT in an UAC protected folder)
and start the installer with / without admin permissions?
FAQ | XY News RSS | XY X
-
admin
- Site Admin
- Posts: 66677
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: update 1; relaunch?
Thanks, but I prefer to outsource (almost) all problems to NSIS installer, not to insource new ones.Marco wrote:Don, you're free to reuse my code
FAQ | XY News RSS | XY X
XYplorer Beta Club