Installing the MDID 2 Application

From ITS Wiki

Jump to: navigation, search

MDID2 is the slide library image viewer.

Contents

Installing manually

You can run the installer from \\jupiter\programs\mdid2\PC Installer\Install.exe

This is a quiet install, so you won't see any feedback. After the install, you shuld have a shortcut on your desktop called "Slide Library Viewer".

Installer Notes

Installer Logic

In order to document what happens when the installer is run, I'm including the (very simple) source below. Basically, if the program hasn't been installed before, I unzip the program to Program Files/MDID 2/ and create a shortcut in the All Users Desktop directory.

def main():
   zipdest = "C:\\Program Files\\MDID 2\\"
   zipsource = "mdid.zip"
   
   if os.path.exists("mdid.zip") and (not os.path.exists(zipdest)):
       unzipper = unzip()
       unzipper.extract(zipsource, zipdest)
       shutil.copyfile(zipdest+"shortcut.lnk","C:\\Documents and Settings\\All Users\\Desktop\\Slide Library Viewer.lnk")

Changing Settings

We recently had to modify the location of the image cache of the MDID program. To alter what gets installed, simply unpack the mdid.zip file in the installer folder and change any files you need to inside of that zip file. The contents of the zip file are simply extracted to the C:\Program Files\MDID 2\ directory.