Archive

Posts Tagged ‘Installers’

Fix: Re-enable ClickOnce deployment at Mozilla Firefox

When you try to run a ClickOnce Windows application from Mozilla Firefox, on some machines you may see it try to save a .application (ClickOnce deployment manifest) instead of running the ClickOnce application installer/updater/launcher.

To fix that issue you can open Firefox add-ons dialog and search among available to download/install add-ons for "net framework assistant". From the results list select to install "Microsoft .NET Framework Assistant" (version 1.3.1 shown at the screenshot below).

You can try the ClickOnce installation process with ClipFlair‘s WebCapture tool.

image

Troubleshooting: Silverlight installation on MacOS-X

One of our ClipFlair Studio users reported on having some issue trying to install Silverlight on MacOS-X, so I gathered some related info below:

 


 

First of all, at the Silverlight installation webpage, at the System Requirements tab, you can find the following requirements:

  • Macintosh (Intel-based) Intel Core Duo 1.83-gigahertz (GHz) or higher processor with 512-MB of RAM
  • Macintosh OS 10.5.7+ (Intel-based)
  • Firefox 3.6+ or Safari 4+ web browser (note that Safari isn’t supported on Windows since it doesn’t support plugins I think)

 

If the Mac User already has Silverlight installed but has problems using the Silverlight component take the following steps in Removing Silverlight plugins on Macintosh:

  • Double-click the hard drive icon on your desktop
  • Find the plugin by Navigating to your Internet Plug-Ins directory: /Library/Internet Plug-Ins/

Remove the plugin by Dragging any of the following into your trash bin:

  • Silverlight.plugin
  • WPFe.plugin

     

    The Mac OS X 10.7 (Lion) and higher versions of Mac Operating Systems seem to have the feature called "Resume" which ensures that the Mac system will recall the state of applications and files just before you quit which would allow you to open them up again, and just pick up from where you left off.

    However, the "Resume" feature may be a stumbling block when it comes to installing Silverlight.

    Therefore, it might be a good idea if we turn off the "Resume" feature temporarily in order to install Silverlight.

    If you have a Mac OS X 10.7 (Lion) or higher version then:

    1. Go to System Preferences.
    2. Go to "General" Tab.
    3. Make sure "Restore windows when quitting and re-opening apps" is unchecked.

    After successful Silverlight installation you can go back and select that option again.

     

     


    Ensure that you quit all browsers on the Mac before the installation of Silverlight.

    1. From the top menu bar use Quit action to exit the browser. Do the same for all open browsers (e.g. Safari or Mozilla Firefox). Else see above how to set your system to not restore applications after reboot.
    2. Shutdown your Mac, and then start up your Mac again.
    3. Make sure all browser applications have been quited (don’t just close their open windows, you need to select the Quit menu action to close the browser process).

     

    After following the above steps, to install Silverlight do the following:

    1. Navigate to the folder where your browser places downloaded files.
    2. Click on the Silverlight installation file (should be a file with the extension .pkg or it might be file with extension .dmg which contains a file with extension .pkg)
    3. Run the installation (the .pkg file)

    HowTo: Troubleshoot .MSI installations

    Copying from Microsoft Web Deploy readme:

    If you encounter any problems during installation, you can run appropriate command listed below for your version of Windows to create a log file that will contain information about the installation process:

    msiexec /L install.log /I <path_to_msi>

    You can analyze this log file after a failed installation to help determine the cause of the failure.

     

    If you don’t have an .MSI but an .EXE, sometimes it’s a packed executable that contains an .MSI in it. You can right-click and open it with an archiver like WinRAR or 7-zip and extract one or more MSI files from there to troubleshoot them separately like above.

    Fix: can not delete install subfolder after upgrading phpBB on IIS

    To upgrade a phpBB forum, one usually downloads an automatic upgrade package to the latest version, selecting on the website which version they currently have. The current version number at a phpBB installation is shown at the Admin Control Panel (there’s a link to it at the bottom of the main page of a phpBB forum usually) and there admins also see a warning if they have older version and links/info on how to upgrade.

    After the correct automatic upgrade package is download, the install subfolder it contains has to be unpacked into the forum folder on the webserver. From that point on the forum is taken offline and users can’t log-in or see discussions anymore till the install subfolder is deleted.

    The installation process is quite smooth, you just point the browser to the install subfolder (say http://localhost/myforum/install) and then it will show a step-by-step wizard, where it first updates the database to the latest version and then shows option to update the PHP files and other file resources at the forum either via FTP automatically or by creating an archive on the fly that you can download and unpack into the forum’s folder on the webserver, replacing any previous files with the same path/filename as the ones in the archive, without closing the upgrade wizard webpage. Then you tell the wizard to check again if files are now updated and you’re done.

    However, there’s one last and very important step to bring the forum online again and let users log-in again to it and/or see discussions. You have to remove the install subfolder you had placed at the forum folder on the webserver.

    If you use IIS (note that you can easily install WordPress and PHP on IIS using Microsoft Web Platform Installer), you may find that you can’t delete some subfolders nested a bit deeper under the install subfolder, like db and en.

    I just had this issue while upgrading phpBB on http://robotics.mech.upatras.gr/forum and had tried various ways to delete the install folder, like the handy Take Ownership command on the Windows Explorer folder context menu, to no avail – that is till I realized it was IIS that was blocking deletion of those subfolders. So I opened up IIS Manager, did a Stop action on the webserver (it might have also worked if I had just stopped the respective website) and then I could delete the install folder from Windows Explorer. Started IIS again and all was up and running nicely.

    Categories: Posts Tags: , , , , ,

    Εγκατάσταση του λογισμικού ΓΑΙΑ ΙΙ στα Windows Vista και Windows 7

    Όταν πρωτοκυκλοφόρησε το εκπαιδευτικό λογισμικό ΓΑΙΑ ΙΙ (το 2002) δεν υπήρχαν ακόμη τα Windows Vista και Windows 7, οπότε χρειάζεται μερικά παραπάνω βήματα από τα συνήθη η σωστή εγκατάσταση του.

    Πρόκειται για βήματα παρόμοια με αυτά που χρειάζονται για να εγκατασταθεί στα Windows Vista και Windows 7 το Αβάκιο / E-Slate μιας και αυτό χρησιμοποιήθηκε ως πλατφόρμα (αν και με αρκετές τροποποιήσεις μου), πέραν από τις επιπλέον ψηφίδες (JavaBeans) που αναπτύξαμε τότε ειδικά για τη ΓΑΙΑ ΙΙ.

    1) Εκκινούμε το πρόγραμμα “Εγκατάσταση” (.exe) της ΓΑΙΑ ΙΙ

    GaiaII_Installer

     

    2) Στο τέλος της εγκατάστασης κρατάμε τις επιλογές που έχει για να στήσει τη Java (θα στήσει την Java 1.3 και ας έχουμε νεότερη στημένη γιατί την χρειάζεται η ΓΑΙΑ ΙΙ) και το Blaxxun Contact VRML player. Προαιρετικά αποεπιλέγουμε το DirectX setup γιατί έχουν νεότερο τα Windows 7 (και να μην το επιλέξουμε θα μας ενημερώσει μόνο του πως υπάρχει νεότερη έκδοση όταν το τρέξει)

     

    3) Στο πρόγραμμα εγκατάστασης της Java 1.3 που ξεκινά αποεπιλέγουμε το "INTERNET EXPLORER", το "FIREFOX" και όποιο άλλο web browser αναφέρει εκεί για λόγους ασφαλείας (πρόκειται για παλιά έκδοση της Java – αν θέλουμε νεότερη για Java applets στο Web Browser θα πρέπει να τη στήσουμε ΕΠΙΠΛΕΟΝ από το http://java.com όταν τελειώσουμε)

    Java1_3

    Java1_3_DeselectBrowsers

     

    4) Στα Regional Settings του συστήματος (Control Panel) βάζουμε "Greek" (στην 1η καρτέλα "Formats") στην επιλογή "Format" και πατάμε OK (αν δεν έχουμε ελληνικά Windows ή έχουμε αλλάξει τις ρυθμίσεις τους)

    Regional Settings

    Regional Settings Format MUST BE Greek

    Αν είμαστε σε σύστημα με πολλούς λογαριασμούς χρηστών πρέπει να κάνει ο κάθε χρήστης τη ρύθμιση αυτή μόνος του, αλλά αν θέλουμε τυχόν νέοι λογαριασμοί χρηστών που θα δημιουργήσουμε να έχουν έτοιμη τη ρύθμιση αυτή, αντί να πατήσουμε OK στο παράθυρο Regional Settings πατάμε Apply για να μην κλείσει και πάμε μετά στην καρτέλα "Administrative", όπου πατάμε το κουμπί "Copy settings…". Στο νέο παράθυρο που ανοίγει επιλέγουμε στο "Copy your current settings to:" το "New user accounts" (αφού πρώτα επιβεβαιώσουμε πως στο "Current User" λέει Format "Greek (Greece)") και κλείνουμε τα παράθυρα ρυθμίσεων με OK

    Regional Settings Administrative CopySettingsToUsers

    Regional Settings Administrative CopySettingsToUsers GreekFormatNewUsers

     

    5) Στο φάκελο “C:\Program Files\Gaia-II\“ (μπορούμε να δούμε εύκολα τα περιεχόμενα του στο μενού Έναρξη των Windows 7 γράφοντας στο “Αναζήτηση…” εκεί τη διαδρομή του φακέλου μαζί με το τελικό “\”), κάνουμε δεξί κλίκ και επιλέγουμε Properties (Ιδιότητες) στο "Γαία ΙΙ" (.exe)

    StartMenu ProgramFiles Γαία ΙΙ executable

    StartMenu ProgramFiles Γαία ΙΙ executable Properties

    Στην καρτέλα Compatibility (Συμβατότητα) επιλέγουμε το "Run this program as administrator" (Εκτέλεση ως διαχειρηστής).

    Γαία ΙΙ executable Properties Compatibility RunAsAdministrator DoAtChangeSettingsForAllUsersIfMultiUserAdmin

    Αν είμαστε σε σύστημα με πολλούς λογαριασμούς χρηστών και θέλουμε να μην κάνει ο κάθε χρήστης τη ρύθμιση αυτή μόνος του, κάνουμε πρώτα "Change settings for all users" (Αλλαγή ρυθμίσεων για όλους τους χρήστες) και μετά επιλέγουμε το "Run this program as administrator".

    Εναλλακτική λύση στην παραπάνω ρύθμιση είναι η απενεργοποίηση του UAC (User Access Control) των Windows Vista και Windows 7, αλλά δεν συνιστάται από άποψης ασφαλείας γιατί τότε όλες οι εφαρμογές θα εκτελούνται με τα πλήρη δικαιώματα που διαθέτει ο τρέχον χρήστης, ενώ μπορεί να προκύψουν και τότε προβλήματα αν ο λογαριασμός του χρήστη είναι περιορισμένων δικαιωμάτων αντί για διαχειριστής.

    6) Μετά εκκινούμε τη "Γαία ΙΙ" από το μενού έναρξη ή ανοίγουμε από εκεί το φάκελο "Μικρόκοσμοι" και κάνουμε διπλό κλίκ στο μικρόκοσμο (αρχείο .gaia) που θέλουμε ν’ανοίξουμε.

    image

    Εαν το User Access Control (UAC) των Windows είναι ενεργοποιημένο, θα βλέπουμε κάθε φορά που εκκινούμε τη ΓΑΙΑ ΙΙ ένα παράθυρο επιβεβαίωσης όπου πρέπει ν’απάντήσουμε καταφατικά.

     

    Για βοήθεια αφήστε ένα σχόλιο στο https://zoomicon.wordpress.com/2012/01/12/%CE%AC-%CF%8D-iota/

    when setup isn’t just xcopy : Inside the MSI file format.

    Did you know .MSI (Windows Installer) files can be queried using SQL commands that the Windows Installer supports?

    when setup isn’t just xcopy : Inside the MSI file format.

    see such SQL query in action (script [for WSH – Windows Script Host] that lists files in .MSI file):

    http://www.serverwatch.com/tutorials/article.php/1548261

    maybe an overkill though

    btw, there seem to be some trojans arround perusing the windows installer and injecting their code in various installation files stored on one’s machine

    for more on Windows Installer, see:

    http://msdn.microsoft.com/library/default.asp?url=/library/en-us/msi/setup/windows_installer_start_page.asp

    and

    http://msdn.microsoft.com/library/default.asp?url=/library/en-us/msi/setup/platform_sdk_components_for_windows_installer_developers.asp

    Also, interesting are projects WiX and MSI2XML / XML2MSI at SourceForge

    http://sourceforge.net/projects/wix/

    http://sourceforge.net/projects/msi2xml

     

    Categories: Uncategorized Tags:
    %d bloggers like this: