Portable install for VCC
complete
mjcox24
At the moment vrchat creator companion is system wide install only, this means that anyone who doesn't have active administration can't update.
Back when VCC first became public I toyed arround with a portable install and it worked fine.
The ability to download a portable version of the VCC app or install the app per user (into appdata so it doesn't need admin) lets more people use the tool easier.
Log In
Momo the Monster
in progress
Now testing an installer which doesn't require admin privileges.
Momo the Monster
complete
New installer in 0.3.7 asks whether to install for local user or admin, and subsequent updates will use that same method. You'll need to uninstall / reinstall to switch.
This is not a portable install, but should solve the issue described by the OP.
Momo the Monster
in progress
Now testing an installer which doesn't require admin privileges.
Momo the Monster
tracked
Thanks for the suggestion. We actually introduced the installer based on the level of support that was needed for the portable version - users weren't sure where to put the application, permissions were widely variable in the folders they were using which made it hard to troubleshoot issues, and managing versions and updates was much more difficult.
We'll consider the portable version for advanced users, but it was not an easier path for users.
Can you describe scenarios where a user would need to update the VCC where they don't have permissions to do so with the current approach? That would help us understand the priority.
mjcox24
Momo the Monster: At the moment anyone who does not have constant admin rights, like someone who has a parent as a buffer for admin, is unable to update as VRC-CC doesn't use the same trick apps like steam use to update.
Allowing for a portable install (even if it puts permissions in the log for debugging) would let people use the tool without this limitation.
mjcox24
Momo the Monster: if folder permissions are your consirn, another option is a per-user install like discord where admin is not required as it would go in username/appdata/local
Momo the Monster
mjcox24: Since we're using InnoSetup, we do have a command-line variable that should allow you to run the install without requiring Admin, can you try this?
Open a command prompt in the folder containing the Setup.exe and type "VRChatCreatorCompanion_Setup_0.3.5.exe /CURRENTUSER"
mjcox24
Momo the Monster:
Error creating registry key:
HKEY_LOCAL_MACHINE\Software\VCC
Code5, acsess denied.
It appears to have installed it to a appdata local folder, tho testing it on a clean VM should be done as I had a lingering old install so most likely allready had the reg.
mjcox24
Update button also doesn't pick up it's installed pur user and tries to run installer as admin.
Momo the Monster
mjcox24: Thanks for the feedback. I think if we change that to "HKEY_LOCAL_USER", it should be able to write without needing admin permissions. We'll need to do some more testing to make sure that nothing else requires admin permissions, and then we could set the installer to run as non-admin by default.
Momo the Monster
mjcox24: Understood, thanks.