foxwood
Posts: 8
Joined: Tue Nov 06, 2007 11:07 pm

Vista UAC - error 1327

There is an issue with Vista UAC where user drive mappings are not available when running elevated - the mappings have to be made at both levels - see http://forums.microsoft.com/MSDN/ShowPo ... 0&SiteID=1 for a fix description.

Where "My Documents" is mapped to a network drive this can result in the installer failing with "Error 1327. Invalid Drive".

This fails in CostFinalize, before the UI appears, when the installer is setting up all the properties for CSIDL paths etc.

Having fallen into this ourselves (we have to intall elevated), our users are certainly going to encounter the problem - with no idea of what to do !

So ...

1) Is there a way in AI to trap this error and show the user a message eg a link to a special FAQ on our website that will tell them what to do ?

2) Is there any known solution / workaround ?
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Hi,
1) Is there a way in AI to trap this error and show the user a message eg a link to a special FAQ on our website that will tell them what to do ?
This cannot be done directly, however you can edit the Advanced Installer dictionary in order to replace the message shown by the error.

For example:
- in the Advanced Installer's dictionary folder (usually "C:\Program Files\Caphyon\Advanced Installer 5.2.2\dictionaries") you open the ui_en.ail file with a text editor
- you find the error with the ID "Error.1327"
- you replace the value with your custom message (note that you cannot use a link)
2) Is there any known solution / workaround ?
I'm afraid that there isn't workaround for this problem.

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
foxwood
Posts: 8
Joined: Tue Nov 06, 2007 11:07 pm

Magic - thank you :)

Is there any way to control the line wrap eg "\n" , known fixed length line breaks or special spacing etc ?
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Hi,

I'm afraid that for the Windows Installer standard error messages you cannot control this.

You can modify the text shown by the error, but its appearance will be determined by Windows Installer (the line wrap depends on the resolution of the target computer).

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
foxwood
Posts: 8
Joined: Tue Nov 06, 2007 11:07 pm

Re: Vista UAC - error 1327

Damn - this came back and hit us again although we did originally change the dictionary file.

As AI updates are applied the older version of AI and it's dictionary files are removed.

Apart from beating ourselves up for making this mistake it would be nice if AI had some sort of folder for "merge with dictionary" files so our changes could be kept separate or as part of a project so they are not lost every update ? That way any such deep changes don't get lost by careless users :oops:
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: Vista UAC - error 1327

Hi,

Unfortunately a merge operation cannot be done because of the way upgrades work. However, we have on our TODO list a dictionary editor which will allow you to save your custom dictionaries in another location.

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”