hdd disconnected during install causes FatalError, code 1327 - Advanced Installer Community

We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

toddpatt
Posts: 111
Joined: Fri Jan 08, 2010 1:36 am

hdd disconnected during install causes FatalError, code 1327

Ahoy,

I have tested this problem using the following versions:
* AI 7.6 build 27499
* AI 7.6.1 build 27951


==================== PROJECT ====================
* type: happens with both Simple and Enterprise
* ui: happens with both basic and enhanced ui
* bootstrapper: happens with or without the bootstrapper


==================== STEPS ====================
1. connect an external hard-drive (hdd) to your machine
2. boot the hdd, ensure it available and has been assigned a drive-letter (let's assume drive E:)
3. run the installer (EXE or MSI)
4. once the WelcomeDlg has been reached, disconnect / power-down the hdd
5. continue with the install as usual


==================== RESULT ====================
* When the CostInitialize action runs (user sees the ProgressDlg), the following error occurs: "Error 1327. Invalid Drive: E:\"
* This also results in an equivalent pop-up message (see attached JPG)
* After closing the pop-up error, the user then sees the FatalError dialog, indicating that the install has failed.
Invalid Drive - BasicUI.JPG
Invalid Drive - BasicUI.JPG (7.22 KiB) Viewed 5210 times

Is this something that could be handled by AI, or is this a limitation of Windows Installer?

Thanks for your help,
-Todd
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: hdd disconnected during install causes FatalError, code 1327

Hi Todd,

This is handled automatically by Windows Installer and it cannot be controlled.

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
toddpatt
Posts: 111
Joined: Fri Jan 08, 2010 1:36 am

Re: hdd disconnected during install causes FatalError, code 1327

Thanks for your reply, Cosmin.

For whatever it's worth, this WI behavior is quite strange. I was curious to see if this happens with other MSI packages, so I ran some additional tests.

===== PC specs =====
* Dell Precision 360
* WinXP SP3
* WI 3.01.4001.5512

===== HDD =====
* HDD1 = NTFS formatted, USB 2.0, 232 GB, assigned E: drive, mfg A
* HDD2 = NTFS formatted, USB 2.0, 148 GB, assigned E: drive, mfg B

===== Alternate Installers =====
* 7z465.msi (7-Zip software)
* mysql-essential-5.0.45-win32.msi (MySQL)

===== Method =====
* Follow same steps listed in my original post.
* Test each HDD in isolation - they are never both connected to my PC at the same time.

===== Results =====
* Using HDD1, I am able to consistently reproduce this problem using both of the alternate installers.
* Using HDD2, I am never able to reproduce this problem using either of the alternate installers, or using my own installer.

===== Log =====
Some interesting snippets from the install log:
* MSI (c) (2C:FC) [13:21:10:203]: PROPERTY CHANGE: Adding ROOTDRIVE property. Its value is 'E:\\'.
...
* MSI (c) (2C:FC) [13:21:10:203]: PROPERTY CHANGE: Adding TARGETDIR property. Its value is 'E:\\'.
...
* MSI (s) (E4:C4) [13:21:10:359]: Command Line: TARGETDIR=E:\\ SHORTCUTDIR=C:\<truncated> APPDIR=C:\<truncated> ...
...
* MSI (s) (E4:C4) [13:21:10:859]: PROPERTY CHANGE: Modifying TARGETDIR property. Its current value is 'E:\\'. Its new value: 'C:\Program Files\MyCo\MyProduct\\'.

===== ScreenShots =====
7zip 4.65 - InvalidDrive.JPG
7zip 4.65 - InvalidDrive.JPG (18.7 KiB) Viewed 5201 times
MySQL 5.0.45-win32 - InvalidDrive.JPG
MySQL 5.0.45-win32 - InvalidDrive.JPG (26.21 KiB) Viewed 5201 times
Oddly, the problem only happened when I disconnected HDD1 during the installs, but never with HDD2. The main differences between the HDDs are the manufacturer and the capacity.

Anyhow, I just wanted to follow-up with the additional details I had learned. Thanks for confirming that this is a WI problem and not an AI problem.

-Todd
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: hdd disconnected during install causes FatalError, code 1327

Hi Todd,

I'm not sure why TARGETDIR is set to "E:\" by default. Can you please send us the .AIP (project) file you are using to support at advancedinstaller dot com so we can investigate it?

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
toddpatt
Posts: 111
Joined: Fri Jan 08, 2010 1:36 am

Re: hdd disconnected during install causes FatalError, code 1327

I just emailed my project file.

I appreciate you investigating this issue. However, I don't want to waste your time chasing ghosts. I tested with two more HDDs (different mfg, different model) and could not reproduce the problem on either of those. Perhaps the issue is somehow related to the hardware, since I can only reproduce it on 1 of 4 drives.

Thanks for your help,
-Todd
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: hdd disconnected during install causes FatalError, code 1327

Hi Todd,

Unfortunately we couldn't find anything that would trigger this behavior. Perhaps it's something in Windows Installer.

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

Return to “Common Problems”