Re/Installing an MSI, getting 'not a valid short file name' error

5,398

You could try opening the .msi in Orca or other .msi packager/editor and look at the 'Shortcut and File table' to verify the ShortName and LongName entries are correct and valid. The ShortName needs to be a valid 8.3 filename.

For example

IMPORT~1.DLL
Share:
5,398

Related videos on Youtube

Shiraz Bhaiji
Author by

Shiraz Bhaiji

Architect / dev lead / .net programmer Manager at Evry http://www.evry.no/ Board Member Oslo Software Architecture http://www.meetup.com/Oslo-Software-Architecture/

Updated on September 17, 2022

Comments

  • Shiraz Bhaiji
    Shiraz Bhaiji over 1 year

    We are running windows 2008.

    We have a windows service called ImportService, that is installed via an MSI package.

    A previous version was installed about 3 months ago without problems.

    When have now unistalled the previous version. When we try to install the new version we get the following error:

    ’ImportService’ is not a valid short file name
    

    We then tried to reinstall the old version and got the same error. We therefore think that there has been an update during the summer that has changed the relevant settings.

    The question is how do we allow this to be a valid filename?

  • Shiraz Bhaiji
    Shiraz Bhaiji over 14 years
    Thanks. The problem was that the default target folder was pointing to a disk that did not exist. We were able to notice that by using Orca.