XMPlay Stuff Updater 4.0 - Same drill, new tricks!

Started by AstralSoup Design,

AstralSoup Design

XMPlay Stuff Updater

Nicolas:
The new XMPlay Stuff Updater is here. Of course it won't use the GreatIdeas branding anymore but the Bahamondes & Furan brand instead. The version was bumped to 4.0, just in case.

The good news is that is not dependant of a WGET command anymore. It is 100% Inno! Much better to maintain.
Different to the old version 1.0, it is able to look for Stuff Plugins, now!


Instructions

1. Make sure you have your plugins in a "Plugins" folder.
2. Remove old versions of the Stuff Updater (The GreatIdeas edition).
3. Download the XMPlay Stuff Updater from this thread.
4. Move the downloaded program to the XMPlay's root directory.
5. Close XMPlay and run the Updater as normal or admin.


Download: Located in this thread.
Source files: Not available yet.

Dhry


Nicolas @ U. Santo Tomás

(Not-so) Mental note:

  • Check if there are more Stuff plugins out there.
  • Update Inno code to be able to run under limited user accounts.

Quote[Setup]: PrivilegesRequired
Valid values:

poweruser, admin, or lowest
Default value:

admin
Description:
The effect of this directive depends on which version of Windows the user is running:

On Windows Vista and later:

This directive affects whether elevated rights are requested (via a User Account Control dialog) when the installation is started.

When set to admin (the default) or poweruser, Setup will always run with administrative privileges. If Setup was started by an unprivileged user, Windows will ask for the password to an account that has administrative privileges, and Setup will then run under that account.

When set to lowest, Setup will not request to be run with administrative privileges even if it was started by a member of the Administrators group. Additionally, the uninstall info root key will always be HKEY_CURRENT_USER, and the "common" forms of the Shell Folder constants are mapped to the "user" forms, even if administrative privileges are available. Do not use this setting unless you are sure your installation will run successfully on unprivileged accounts.

On earlier versions of Windows:

This directive specifies the minimum user privileges required to run the installation.

When set to admin (the default), Setup will only run if the user is a member of the Administrators group. Otherwise, it will display the following message and exit: "You must be logged in as an administrator when installing this program."

When set to poweruser, Setup will only run if the user is a member of the Administrators or Power Users groups. Otherwise, it will display the following message and exit: "You must be logged in as an administrator or as a member of the Power Users group when installing this program."

When set to lowest Setup will not check the user's group membership. Additionally, the uninstall info root key will always be HKEY_CURRENT_USER, and the "common" forms of the Shell Folder constants are mapped to the "user" forms, even if administrative privileges are available. Do not use this setting unless you are sure your installation will run successfully on unprivileged accounts.

Note:

Regardless of the version of Windows, only if the installation is per-user (PrivilegesRequired=lowest) you may touch Windows' per-user areas from your script.

saga

Quote from: Nicolas @ U. Santo TomásCheck if there are more Stuff plugins out there.
Any other plugins provided by Ian, e.g. xmp-aac.
Quote from: Nicolas @ U. Santo TomásUpdate Inno code to be able to run under limited user accounts.
If you expect XMPlay to be installed in "Program Files" (which is of course a reasonable assumption), there is nothing you can do. InnoSetup cannot dynamically elevate itself based on the install location, I asked for this feature a while ago but it's unlikely to ever be implemented. You'd have to provide a normal and an elevated version of the installer.

Dhry

Is there a way to have this check for an update but NOT download if you already have the most current version? It appears that right now it will download xmplay etc regardless of whether it needs to or not.

DRS

Edit: Please include this feature so that the app doesn't download a component update if its not actually necessary.

rst

just a question.

Is this program able to check all the plugins that are in the xmplay folder, but into sub-folders ?
because i have all matching some structure, that means, the plugins arent just side the xmplay.exe
The own xmplay is able to locate all into recursive sub-directories.

My structure:

XMplay
    DSP
    Encoders
    Plugins
        Archive Readers
        Input
        Output
        Others
        Winamp
    Skins
    Vis

and into each folder, other folder to hold the plugin files, that usually are more than 1.

AstralSoup Design

Quote from: rstjust a question.

Is this program able to check all the plugins that are in the xmplay folder, but into sub-folders ?
because i have all matching some structure, that means, the plugins arent just side the xmplay.exe
The own xmplay is able to locate all into recursive sub-directories.

My structure:

XMplay
    DSP
    Encoders
    Plugins
        Archive Readers
        Input
        Output
        Others
        Winamp
    Skins
    Vis

and into each folder, other folder to hold the plugin files, that usually are more than 1.

I'm afraid I don't have enough knowledge in Inno to make the package more dynamic in the way you are telling me.

If you know how to make those changes, whoever is reading this, please help us improve the installer... please :O

Dhry

Just tried to download this and it's missing from Dropbox. Where can we get it from now?

DRS

AstralSoup Design

Quote from: DhryJust tried to download this and it's missing from Dropbox. Where can we get it from now?

DRS

With Dropbox's new policies, all my files were blocked for public download.
As a temporary workaround, I uploaded the file at the first thread.

Dhry

Quote from: Astral Soup DesignWith Dropbox's new policies, all my files were blocked for public download.
As a temporary workaround, I uploaded the file at the first thread.

Perfect, thank you!

DRS