MSFN Forum: format dialog .. - MSFN Forum

Jump to content



Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

format dialog .. Rate Topic: -----

#1 User is offline   midiboy 

  • Senior Member
  • PipPipPipPip
  • Group: Members
  • Posts: 586
  • Joined: 04-July 04

Posted 07 November 2004 - 03:56 PM

Hi Benjamin,

back again after a while ;)

I did an unattended installation yesterday on some friends PC and came across a problem if there are 2 partitions (C, D) created during Windows setup. Then, D is not being formatted during Windows setup, only C is as Windows is installed on that drive.

After unattended setup is finished, Wihu starts and I am trying to add a user whose Personal folders are set to be created on D:\%ThisUser% in Wihu.

Now the problem is that D is not yet formatted so nothing can be created there, yet Wihu does not say so. I think I once asked you about this already ( in the first stages of Wihu ) but then I forgot about it.

Would you be able to add a "check" to Wihu that checks if the drive is formatted while the personal folders are created and then gives the user the possibility to format the drive before the user and the folders are actually being created ?

Thanks ! Hope you are fine !

Bye,
Alex


:hello:


#2 User is offline   BenjaminKalytta 

  • Developer
  • PipPipPipPip
  • Group: Members
  • Posts: 609
  • Joined: 08-June 04

Posted 09 November 2004 - 06:08 AM

Hi midiboy,

Ok I'll see what I can do.

Benjamin Kalytta

#3 User is offline   midiboy 

  • Senior Member
  • PipPipPipPip
  • Group: Members
  • Posts: 586
  • Joined: 04-July 04

Posted 10 November 2004 - 03:01 AM

Thanks a lot, Benjamin !

:thumbup :w00t:

Bye,
Alex

#4 User is offline   smood1 

  • Group: Members
  • Posts: 7
  • Joined: 11-December 03

Posted 10 November 2004 - 10:46 AM

try adding this to your ini

description.0 = Format D: Partition
command.0 = cmd /c "echo Y | format D: /fs:ntfs /V:Data /Q"
selected.0 = 1


the users settings don't take effect (i believe) until the user first logs in, so if you do the above command you shouldn't have a problem.

#5 User is offline   BenjaminKalytta 

  • Developer
  • PipPipPipPip
  • Group: Members
  • Posts: 609
  • Joined: 08-June 04

Posted 10 November 2004 - 01:30 PM

Ok, I'll add this.

But there are some things that have to be discussed first.
What if /autoinstall=0 is used i.e. no user interruption is made? Should WIHU do an autoformat despite the fact that the volume wasn't unformated accidently but may be was detected by Windows as unformated?
What if an format error occures?
Should the user decide which filesystem, clustersize, label ... should be used?
Or should WIHU make the decission?

Benjamin

#6 User is offline   midiboy 

  • Senior Member
  • PipPipPipPip
  • Group: Members
  • Posts: 586
  • Joined: 04-July 04

Posted 10 November 2004 - 04:25 PM

Hi !

@smood1:

Quote

the users settings don't take effect (i believe) until the user first logs in, so if you do the above command you shouldn't have a problem.
Unfortunately, I believe that is not entirely true. If you add a user in Wihu and specify some personal folders, those folders are created right while executing Wihu and, I think, before the software installation process is started in Wihu so your command will come too late. At least thats what I think ... :unsure:

But thanks for the command syntax ! :)

@Benjamin:

Thanks for adding this feature ! :-)

Quote

What if an format error occures?


Mhh, how about an error message and a choice to repeat the format or skip it ?

Quote

Should the user decide which filesystem, clustersize, label ... should be used?
Yes of course but you could also add some switches to install.ini to create a "default" template for this.


Quote

Or should WIHU make the decission?


Not by default. However, you could also add another switch to Wihu to do that (for people using Wihu on similar systems that might be nice)


Quote

What if /autoinstall=0 is used i.e. no user interruption is made? Should WIHU do an autoformat despite the fact that the volume wasn't unformated accidently but may be was detected by Windows as unformated?


That I did not understand completely yet. Sorry :rolleyes:

Bye,
Alex

#7 User is offline   midiboy 

  • Senior Member
  • PipPipPipPip
  • Group: Members
  • Posts: 586
  • Joined: 04-July 04

Posted 10 November 2004 - 04:28 PM

Ah, I forgot ....

please also add the possibility to do a quick format instead of a full format ! :-)

Thanks,
Alex

#8 User is offline   BenjaminKalytta 

  • Developer
  • PipPipPipPip
  • Group: Members
  • Posts: 609
  • Joined: 08-June 04

Posted 10 November 2004 - 04:58 PM

midiboy said:

That I did not understand completely yet. Sorry


There may be some situations where windows detects that a specified drive isn't formated but which isnt true. This could happen if windows don't detect the filesystem type or so. It's critical then to format the drive due data lost.

Benjamin Kalytta

Currently format dialog looks like this: (see attachment)

Attached File(s)



#9 User is offline   midiboy 

  • Senior Member
  • PipPipPipPip
  • Group: Members
  • Posts: 586
  • Joined: 04-July 04

Posted 11 November 2004 - 03:38 AM

Hi Benjamin,

ah, I understand, you mean like if the drive is formatted with Reiser or other Linux filesystems for instance ...

mhh, well ... I guess Wihu should then ask the user what to do ...

Your screenshot looks great ! :w00t: Two small remarks ... the countdown can be turned off in install.ini I guess ? and a quick format switch would be nice ( but I said so already)

Thanks,
Alex

#10 User is offline   BenjaminKalytta 

  • Developer
  • PipPipPipPip
  • Group: Members
  • Posts: 609
  • Joined: 08-June 04

Posted 11 November 2004 - 09:44 AM

Count down will only be showed if /autoinstall is selected. This is because NO dialog may prevent WIHU from continues it work. This ensures "unattendedness" of WIHU.
There may be a FormatDefault settings in INI which will by used if Timout occures.

Btw. I'll always use Quickformat.

#11 User is offline   midiboy 

  • Senior Member
  • PipPipPipPip
  • Group: Members
  • Posts: 586
  • Joined: 04-July 04

Posted 29 November 2004 - 04:12 PM

Hey Benjamin,

any news on the format feature ? DonŽt want to push you but looking forward to a new version with this feature ! ;)

Bye,
Alex

#12 User is offline   BenjaminKalytta 

  • Developer
  • PipPipPipPip
  • Group: Members
  • Posts: 609
  • Joined: 08-June 04

Posted 30 November 2004 - 01:26 AM

Be patient ;)
Currently Im very stressed because of my examinations. Format routine is already complete, but it isn't integrated into WIHU yet because there are some things that have to be clarifyied first like what if WIHU can't format a certain drive, but the drive contains each shellfolders. This would cause WIHU to call Format Dialog certain times, could be annoying. And some things more.

Benjamin Kalytta

#13 User is offline   midiboy 

  • Senior Member
  • PipPipPipPip
  • Group: Members
  • Posts: 586
  • Joined: 04-July 04

Posted 30 November 2004 - 02:44 AM

Hi Benjamin,

Thanks for your message ! IŽll be patient ! Good luck for your exams ! :)

Bye,
Alex

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2011 msfn.org
Privacy Policy