Context menu items and associations not getting setup at install

Get help with the installation and running of the Zeus IDE. Please do not post bug reports or feature requests here. When in doubt post your question here.
Post Reply
sfeldner
Posts: 13
Joined: Wed Sep 24, 2008 3:44 pm
Location: Minneapolis, MN USA

Context menu items and associations not getting setup at install

Post by sfeldner »

I've been having problems with the Zeus context menu additions with Zeus installed on Windows 10. I think this started after a Windows 10 update but I don't know which one. There are no context menu (right-click menu) options for Zeus like "Zeus IDE, Open in Zeus" and there are no file associations like for .txt files or any programming file extensions (.c, .bas, etc.). I tried reinstalling and I also upgraded to version "u" and still no things that I check-boxed during installation. These are supposed to configured when Zeus is installed but they are not. I did a before and after registry shot and found the following:

Code: Select all

[HKEY_LOCAL_MACHINE\Software\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\Zeus IDE 3.98u_is1]
"Inno Setup: Setup Version"="6.0.1-beta (u)"
"Inno Setup: App Path"="C:\\Program Files (x86)\\Zeus"
"InstallLocation"="C:\\Program Files (x86)\\Zeus\\"
"Inno Setup: Icon Group"="Zeus IDE"
"Inno Setup: User"="sfeldner"
"Inno Setup: Selected Tasks"="task_desktop,task_startmenu,task_sendto,task_editor,task_extension"
"Inno Setup: Deselected Tasks"="task_quicklaunch"
"Inno Setup: Language"="default"
"DisplayName"="Zeus IDE 3.98u"
"UninstallString"="\"C:\\Program Files (x86)\\Zeus\\unins000.exe\""
"QuietUninstallString"="\"C:\\Program Files (x86)\\Zeus\\unins000.exe\" /SILENT"
"DisplayVersion"="3.98u"
"Publisher"="Xidicone P/L"
"URLInfoAbout"="http://www.zeusedit.com"
"HelpLink"="http://www.zeusedit.com"
"URLUpdateInfo"="http://www.zeusedit.com"
"NoModify"=dword:00000001
"NoRepair"=dword:00000001
"InstallDate"="20190627"
"EstimatedSize"=dword:00028fdc

Which shows the options I picked on install. Other than that there were a bunch of "BAGS" entries which basically keep track of where icons are or which menu selections get rearranged by usage. As far as I can tell, there were no changes made to registry entries in sections like "Computer\HKEY_CURRENT_USER\Software\Classes\SystemFileAssociations\text\shell\edit" where they need to be made.

Is there a problem here or am I just screwed up. I did do the install on two completely different computers - home and work. Both were the same. HELP!!!
jussij
Site Admin
Posts: 2650
Joined: Fri Aug 13, 2004 5:10 pm

Re: Context menu items and associations not getting setup at install

Post by jussij »

Is there a problem here or am I just screwed up.

I think the issue is with the newest Zeus installer.

The old Zeus installer always required admin rights to run and this was always a source of negative feedback :(

The new installer now gives the option for either a local or admin installation and it defaults to a local install.

However, that flexibility does not come without it's own issues.

To create the desktop shortcuts that are missing requires admin rights :(

In order to only support one installer and not two means both of these install modes need to revert to their lowest common denominator which and that means not performing any unwanted admin task.

And this means these extra shortcut creation steps have been removed from the installer script.

Now I will just have to conform this theory but I'm pretty sure this will be the issue you are seeing.

As a work around I will create registry file that you can then import to create these missing keys,.

But of course to import that file will require running the RegEdit tool in admin mode ;)

Cheers Jussi
jussij
Site Admin
Posts: 2650
Joined: Fri Aug 13, 2004 5:10 pm

Re: Context menu items and associations not getting setup at install

Post by jussij »

VERY IMPORTANT: Before importing any of these registry details make sure you have made good backups of any entries that you are planning to replace.

Find below the details of the missing Zeus installer registry entries.

ZeusDocument
The ZeusDocument entry is used to defines how a Zeus document is opened. Once created, this entry can then be used to open files using Zeus:

Code: Select all

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\ZeusDocument]
@="Text Document"

[HKEY_CLASSES_ROOT\ZeusDocument\DefaultIcon]
@="%SystemRoot%\\SysWow64\\shell32.dll,-152"

[HKEY_CLASSES_ROOT\ZeusDocument\shell]

[HKEY_CLASSES_ROOT\ZeusDocument\shell\open]

[HKEY_CLASSES_ROOT\ZeusDocument\shell\open\command]
@="\"C:\\Users\\<user id>\\AppData\\Local\\Programs\\Zeus\\Zeus.exe\" \"%1\""

[HKEY_CLASSES_ROOT\ZeusDocument\shell\open\ddeexec]
@="[open(\"%1\")]"
NOTE: The command details will need to be adjusted to point to your Zeus installation folder.

ZeusWorkspace
The Zeus Workspace entry is used to bind the Zeus workspace file (.zwi) to Zeus:

Code: Select all

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\ZeusWorkspace]
@="Zeus Workspace"

[HKEY_CLASSES_ROOT\ZeusWorkspace\shell]

[HKEY_CLASSES_ROOT\ZeusWorkspace\shell\open]
@="Open in Current Zeus Session"

[HKEY_CLASSES_ROOT\ZeusWorkspace\shell\open\command]
@="\"C:\\Users\\<user id>\\AppData\\Local\\Programs\\Zeus\\Zeus.exe\" \"%1\""
Note: The command details will need to be adjusted to point to your Zeus installation folder.

Open Zeus Workspace
This entry associates files with the .zwi extension to the ZeusWorkspace entry. This will mean when double clicking on a .zwi file it will be opened in Zeus.

Code: Select all

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\.zwi]
@="ZeusWorkspace"

Open Document in Zeus
The entry below shows how to open a .lua document in Zeus.

Code: Select all

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\.lua]
"PerceivedType"="text"
"Content Type"="text/plain"
@="ZeusDocument"

NOTE: To map other document extensions just change the extension details found in the HKEY_CLASSES_ROOT entry.
Post Reply