IPB

Google Frontpage Forums Unattended CD/DVD Guide
> HFGUIRUNONCE and txtmode copy errors...
Martin H
post Mar 14 2008, 10:30 PM
Post #1


Senior Member
****

Group: Members
Posts: 660
Joined: 24-November 06
Member No.: 116438
OS: XP Pro x86
Country Flag


I just wanted to report that i'm getting txtmode copy errors when trying to install silent switchless installers from the HFGUIRUNONCE folder(i have tested it 4 times now).

I have then tried to change the names of the installers to straight 8.3 format(without spaces or punctuation), but still i get the same errors.

The errors only shows with *.exe files, but not *.msi or *.reg files.

Here's the error message :
QUOTE
The file HFGUI(X) was not copied correctly. The file Setup placed on your harddrive is not a valid Windows 2000 system image. If you are installing from a CD, there may be a problem with the Windows 2000 CD.


Thank's in advance.
Go to the top of the page
 
+Quote Post
 
Start new topic
Replies (1 - 9)
Tomcat76
post Mar 15 2008, 02:36 AM
Post #2


MSFN Junkie
Group Icon

Group: Software Developers
Posts: 3171
Joined: 8-August 05
From: Flanders, Belgium
Member No.: 68008
OS: 2000
Country Flag


If that's the message you're getting, it means the headers of the executables are borked. You'll need to run modifyPE.exe on them once.

In your main HFSLIP folder, create a new folder named TEST and copy the problematic executables in there.
Then save the following in a .cmd file in the main HFSLIP folder and run it:
CODE
@ECHO OFF
FOR /F "DELIMS=" %%I IN ('DIR/B TEST\*.exe') DO (
HFTOOLS\modifype.exe TEST\%%I -c
)
PAUSE

Copy them back into the HFGUIRUNONCE folder and run HFSLIP again.

FYI... Long file names are OK, but remove any spaces; files with spaces in their name will copy over fine but will fail to install. This applies to .msi and .exe files in HFGUIRUNONCE.


EDIT: Updated code.

This post has been edited by Tomcat76: Mar 15 2008, 08:33 PM
Go to the top of the page
 
+Quote Post
Martin H
post Mar 15 2008, 03:46 PM
Post #3


Senior Member
****

Group: Members
Posts: 660
Joined: 24-November 06
Member No.: 116438
OS: XP Pro x86
Country Flag


Thank you for your help, mate smile.gif

modifype.exe reports 'Could not open file', for each of the files in the 'for' loop.

I always make my silent switchless installers by myself manually and so i find it strange that the headers are borked, but they must be, then...

They are all 7z SFX installers and i'm using Oleg Scherbakov's modified version of the 7z SFX module for installers, as it features some extra functionality like e.g. running msi's directly and hiding the console window with batchfiles etc.

Anyway, it's not really a problem for me, since i'm normally always just using the "RunOnceEx from CD" approach for installing my apps, but i where just momentarilly thinking about if i should switch over to using the HFGUIRUNONCE folder instead, and then when i tried it out, then i though that i had found a bug and which i then wanted to report...

Again, thanks alot for your help, mate smile.gif


CU, Martin.
Go to the top of the page
 
+Quote Post
Tomcat76
post Mar 15 2008, 08:40 PM
Post #4


MSFN Junkie
Group Icon

Group: Software Developers
Posts: 3171
Joined: 8-August 05
From: Flanders, Belgium
Member No.: 68008
OS: 2000
Country Flag


Oops... well... modifype.exe doesn't seem to like quotes. I added them in case there were files with spaces in their name.

Replace the code in the CMD with the updated code in my previous post. Make sure no files in TEST have spaces.

I have never experienced copy errors with 7-zip SFX packages before, though.
Go to the top of the page
 
+Quote Post
Martin H
post Mar 15 2008, 10:12 PM
Post #5


Senior Member
****

Group: Members
Posts: 660
Joined: 24-November 06
Member No.: 116438
OS: XP Pro x86
Country Flag


OK, i have just now passed the txtmode copy stage in VMware and without a single copy error this time, so you where absolutely right smile.gif

Thanks alot for all your help, mate smile.gif

CU, Martin.
Go to the top of the page
 
+Quote Post
Tomcat76
post Mar 15 2008, 10:35 PM
Post #6


MSFN Junkie
Group Icon

Group: Software Developers
Posts: 3171
Joined: 8-August 05
From: Flanders, Belgium
Member No.: 68008
OS: 2000
Country Flag


No problem smile.gif
Go to the top of the page
 
+Quote Post
Darkshado
post Oct 27 2009, 11:29 PM
Post #7





Group: Members
Posts: 3
Joined: 26-February 09
Member No.: 233997
OS: XP Pro x86
Country Flag


I have the same issue, even after running modifyPE on the files, and no issues being reported...
The files are silent installers made with WinRAR 3.90.
While I could try an older version, or perhaps 7Zip, does anyone have an idea why this would happen?

(I'm testing in a VM right now to see if this causes any other issue than the message itself...)
Go to the top of the page
 
+Quote Post
tommyp
post Oct 28 2009, 03:53 AM
Post #8


MSFN Expert
Group Icon

Group: Software Developers
Posts: 1467
Joined: 9-January 04
Member No.: 12184
OS: none
Country Flag


This issue hasn't arose in over a year. Please do what tomcat76 said, and fwiw, it may be worthwhile to rename your files to 8.3 format without any strange symbols. Also, how are you installing the image? Did you set up your vm to boot from the iso? Did you select the default multiboot options when you ran hfslip? Are you trying some sort of network installation?
Go to the top of the page
 
+Quote Post
Darkshado
post Oct 28 2009, 07:09 PM
Post #9





Group: Members
Posts: 3
Joined: 26-February 09
Member No.: 233997
OS: XP Pro x86
Country Flag


Hello TommyP

I already had used tomcat76's script prior to posting. Will try renaming in 8.3, did not use strange symbols my in previous filenames (I speak French, so the alphabet's latin anyway.) I have the vm booting off the iso file to keep the coaster count low. I am not doing any multiboot so yeah its default.

I'm thinking it might have to do with the compression method. I'll see if the issue comes up with either 7Zip SFX or the previous version of WinRAR I have (3.sixtysomething iirc).

I'll try to report back sometime later with my results.

Thanks for this great, great tool Tommy.

Darkshado
Go to the top of the page
 
+Quote Post
Darkshado
post Oct 28 2009, 11:58 PM
Post #10





Group: Members
Posts: 3
Joined: 26-February 09
Member No.: 233997
OS: XP Pro x86
Country Flag


I remade the SFX archives with the older WinRAR version and renamed the files in 8.3 format and this solved the problem.
(Now... To track down why WU is asking for a couple of updates that I either didn't download, or that didn't slipstream properly for some reason.)
Go to the top of the page
 
+Quote Post

Google Frontpage Forums Unattended CD/DVD Guide

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 




Lo-Fi Version Time is now: 21st November 2009 - 07:49 PM
All trademarks mentioned on this page are the property of their respective owners
MSFN is not affiliated with Microsoft
Copyright © 2001-2009 msfn.org
Privacy Policy