MSFN Forum: Ask your Seven xml ? here - MSFN Forum

Jump to content


  • 25 Pages +
  • « First
  • 15
  • 16
  • 17
  • 18
  • 19
  • Last »
  • You cannot start a new topic
  • You cannot reply to this topic

Ask your Seven xml ? here Sample .xml's including Audit Mode for DVD and other Install's

#321 User is offline   TheWalrus 

  • N.W.O.
  • PipPipPipPipPip
  • Group: Members
  • Posts: 910
  • Joined: 11-August 08
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 06 January 2012 - 06:22 AM

it's folder "temp" which is located in the root of c: partition.

I tried to specify full path without any variable too and it doesn't work either.




#322 User is offline   myselfidem 

  • Member
  • PipPipPipPipPipPipPipPip
  • Group: Members
  • Posts: 2,381
  • Joined: 06-January 10
  • OS:Windows 7 x86
  • Country: Country Flag

Posted 06 January 2012 - 07:27 AM

View PostTheWalrus, on 06 January 2012 - 06:22 AM, said:

it's folder "temp" which is located in the root of c: partition.

There is no folder temp at the root of C:\ partition, unless you create it!
There is a Temp folder inside: %Windir%\Temp

Have you tried to set your program inside: %SystemDrive%\Install\your_program /switches ?

You can also try to give a shorter name for the program, like: systemupdate.exe

Maybe that work !: (see quotes)
                <SynchronousCommand wcm:action="add">
                    <Order>22</Order>
                    <CommandLine>cmd /c start /wait "%systemdrive%\TEMP\systemupdate.exe -s -a /s /v"/qn""</CommandLine>
                    <Description>install Lenovo System Update</Description>
                    <RequiresUserInput>false</RequiresUserInput>
                </SynchronousCommand>



And if doesn't work you can use a batch file to solve this issue!

This post has been edited by myselfidem: 07 January 2012 - 01:57 AM


#323 User is offline   maxXPsoft 

  • MSFN Master
  • Group: Developers
  • Posts: 2,747
  • Joined: 14-November 03
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 07 January 2012 - 09:56 AM

To get it to add the quote after the v this this what I done
REG ADD %KEY%\iAdd /V Inum /D "CMD /C Start /Wait %SystemDrive%\APPS\_Lenovo\systemupdate.exe -s -a /s /v\"/qn" /f

Attached File  lenovo.PNG (12.01K)
Number of downloads: 14

#324 User is offline   TheWalrus 

  • N.W.O.
  • PipPipPipPipPip
  • Group: Members
  • Posts: 910
  • Joined: 11-August 08
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 09 January 2012 - 06:17 AM

I thought there must be quotes on both sides of the /qn parameter. I tried the backslash approach and it gave me error, but I did /v\"/qn\"







myselfidem: Of course I created/changed it, we try to have the temp folder in one easily to be accessed place :P



#325 User is offline   myselfidem 

  • Member
  • PipPipPipPipPipPipPipPip
  • Group: Members
  • Posts: 2,381
  • Joined: 06-January 10
  • OS:Windows 7 x86
  • Country: Country Flag

Posted 09 January 2012 - 07:05 AM

Have you tried like this ?: Works on my computer (using quotes like this example).

Quote

cmd /c "%systemdrive%\TEMP\systemupdate.exe -s -a /s /v"/qn"

This post has been edited by myselfidem: 09 January 2012 - 07:32 AM


#326 User is offline   TheWalrus 

  • N.W.O.
  • PipPipPipPipPip
  • Group: Members
  • Posts: 910
  • Joined: 11-August 08
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 09 January 2012 - 08:02 AM

Do you mean without the "start /wait"? I THINK I tried that and it worked. Why did it, though?




Not sure, testing now again and the variant maxx mentioned as well.



#327 User is offline   myselfidem 

  • Member
  • PipPipPipPipPipPipPipPip
  • Group: Members
  • Posts: 2,381
  • Joined: 06-January 10
  • OS:Windows 7 x86
  • Country: Country Flag

Posted 09 January 2012 - 08:06 AM

Yes, without using "start /wait" and look at the quotes inside my example above!

This post has been edited by myselfidem: 09 January 2012 - 12:30 PM


#328 User is offline   TheWalrus 

  • N.W.O.
  • PipPipPipPipPip
  • Group: Members
  • Posts: 910
  • Joined: 11-August 08
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 09 January 2012 - 01:53 PM

Why does it work without the start wait?



#329 User is offline   myselfidem 

  • Member
  • PipPipPipPipPipPipPipPip
  • Group: Members
  • Posts: 2,381
  • Joined: 06-January 10
  • OS:Windows 7 x86
  • Country: Country Flag

Posted 09 January 2012 - 02:53 PM

You can find useful infos here:

http://www.msfn.org/...t-wait-command/

http://technet.micro...y/cc723564.aspx

#330 User is offline   TheWalrus 

  • N.W.O.
  • PipPipPipPipPip
  • Group: Members
  • Posts: 910
  • Joined: 11-August 08
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 10 January 2012 - 03:00 AM

Hm, doesn't work.

<SynchronousCommand wcm:action="add">
<Order>22</Order>
<CommandLine>cmd /c "%systemdrive%\TEMP\systemupdate401-2011-07-25.exe -s -a /s /v"/qn"</CommandLine>
<Description>install Lenovo System Update</Description>
</SynchronousCommand>


Going to test something else. I believe it does work when there are no other commands before this. It happened with other program in past too btw.



#331 User is offline   TheWalrus 

  • N.W.O.
  • PipPipPipPipPip
  • Group: Members
  • Posts: 910
  • Joined: 11-August 08
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 10 January 2012 - 06:36 AM

Ok I can confirm it installs ok even in the original format <CommandLine>cmd /c start /wait %systemdrive%\TEMP\systemupdate401-2011-07-25.exe -s -a /s /v"/qn"</CommandLine>

IF the command is run FIRST. It doesn't for otherwise for me. What's the deal here??




#332 User is offline   Tripredacus 

  • K-Mart-ian Legend
  • Group: Super Moderator
  • Posts: 8,665
  • Joined: 28-April 06
  • OS:Server 2012
  • Country: Country Flag

Posted 10 January 2012 - 09:17 AM

View PostTheWalrus, on 10 January 2012 - 06:36 AM, said:

Ok I can confirm it installs ok even in the original format <CommandLine>cmd /c start /wait %systemdrive%\TEMP\systemupdate401-2011-07-25.exe -s -a /s /v"/qn"</CommandLine>

IF the command is run FIRST. It doesn't for otherwise for me. What's the deal here??


Try running the previous command with the /wait. It is possible that the your EXE needs to use a process that is locked by a previous command. While it may add some extra time, I've learned to run all my commands with a wait on it.

#333 User is offline   TheWalrus 

  • N.W.O.
  • PipPipPipPipPip
  • Group: Members
  • Posts: 910
  • Joined: 11-August 08
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 11 January 2012 - 03:03 AM

Unfortunately it's not the case. I had the /wait parameter specified in all the commands until yesterday and it didn't work anyway. Real mystery this...

#334 User is offline   myselfidem 

  • Member
  • PipPipPipPipPipPipPipPip
  • Group: Members
  • Posts: 2,381
  • Joined: 06-January 10
  • OS:Windows 7 x86
  • Country: Country Flag

Posted 12 January 2012 - 09:36 AM

View PostTheWalrus, on 10 January 2012 - 06:36 AM, said:

Ok I can confirm it installs ok even in the original format <CommandLine>cmd /c start /wait %systemdrive%\TEMP\systemupdate401-2011-07-25.exe -s -a /s /v"/qn"</CommandLine>

IF the command is run FIRST. It doesn't for otherwise for me. What's the deal here??


Maybe the problem may be due to lack of space in the % temp% folder to deploy the application and install it. And happy to see it works by installing it first!



#335 User is offline   TheWalrus 

  • N.W.O.
  • PipPipPipPipPip
  • Group: Members
  • Posts: 910
  • Joined: 11-August 08
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 12 January 2012 - 03:05 PM

I am not happy at all because this program is really dodgy and seems to live a life of its own :P

There is no logical explanation for its behaviour.

Plenty of space on the disk so not a problem there...

In the end I gave up and just install it manually. And you know what? It doesn't even work - it crashes as soon as I try to check for updates :P Gotta love Lenovo. Their products are weird at least.



#336 User is offline   myselfidem 

  • Member
  • PipPipPipPipPipPipPipPip
  • Group: Members
  • Posts: 2,381
  • Joined: 06-January 10
  • OS:Windows 7 x86
  • Country: Country Flag

Posted 21 January 2012 - 10:01 AM

View Postmyselfidem, on 05 July 2011 - 12:05 PM, said:

But when I copy/paste a file with the editor inside a topic the files with http:// are writed twice! :ph34r:


Solved:
http://www.msfn.org/...post__p__988316

This post has been edited by myselfidem: 21 January 2012 - 10:18 AM


#337 User is offline   nice_guy75 

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 406
  • Joined: 07-December 09

Posted 21 January 2012 - 08:28 PM

I have some problem with my xml, please help me MaxXPoft or myselfidem, I have taken myselfidem's autounattend.xml and modified it, but I am still facing some problem, please help me with following issues;

1. EULA window is still appearing, I can't post screenshot as it is only appearing on actual machine but not in virtual machine.
2. I see a Blank window just after OOBE animation for about 15-20 secs
3. I have used autologon but after installation when I set the password for Administrator and reboot, it again try to login automatically, and then I see a msg, of "The username of password is incorrect". How can I rectify my xml so that once I set the password it should not try to login automatically and wait at logon screen for me to enter password, instead for trying to login automatically.

My xml is attached herewith.

Attached File(s)



#338 User is offline   myselfidem 

  • Member
  • PipPipPipPipPipPipPipPip
  • Group: Members
  • Posts: 2,381
  • Joined: 06-January 10
  • OS:Windows 7 x86
  • Country: Country Flag

Posted 22 January 2012 - 03:02 AM

Inside your Autounattend.xml file!

1. <AcceptEula> wasn't at the good place move to <UserData>

2. <DynamicUpdate> value change to <WillShowUI>Never</WillShowUI>

I'm guessing a blank window appears because the value was <WillShowUI>Always</WillShowUI> and <Enable>false</Enable>

3. Add for <AutoLogon> value: <LogonCount>3</LogonCount>

Like this you need to enter your password after 3 times AutoLogon!

This post has been edited by myselfidem: 26 January 2012 - 08:25 AM


#339 User is offline   nice_guy75 

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 406
  • Joined: 07-December 09

Posted 22 January 2012 - 07:02 AM

Thanks mate, If I set Autologon value to 3 it will not try to log on automatically after 3 times, you have set this value to 3 because OS reboot for 3 times during the entire installation?

And regarding key, can I use "/image/index" at the both the places i.e. in user data of International-core-winpe and product key in user data, as I have already integrated the key in the wim itself.

This post has been edited by nice_guy75: 22 January 2012 - 07:29 AM


#340 User is offline   myselfidem 

  • Member
  • PipPipPipPipPipPipPipPip
  • Group: Members
  • Posts: 2,381
  • Joined: 06-January 10
  • OS:Windows 7 x86
  • Country: Country Flag

Posted 22 January 2012 - 07:31 AM

Yes 2 or 3 times...It's better to use 3 times, or you can use 10 times!
Try the Autounattend.xml file attached and let me know the result, please...And use the same password!

Regards

*Edit: Remove this seetiings, if the key is already integrated:

<settings pass="windowsPE"> inside: <UserData>

    <ProductKey>
           <WillShowUI>OnError</WillShowUI>
           <Key>XXXXX-XXXXX-XXXXX-XXXXX-XXXXX</Key>
    </ProductKey>



And inside <settings pass="specialize">:
     <ProductKey>XXXXX-XXXXX-XXXXX-XXXXX-XXXXX</ProductKey>



>/IMAGE/INDEX< = is for the OSImage installation only!
<ImageInstall>
     <OSImage>
               <InstallFrom>
                        <MetaData wcm:action="add">
                            <Key>/IMAGE/INDEX</Key>
                            <Value>1</Value>
                        </MetaData>
               </InstallFrom>
            <WillShowUI>OnError</WillShowUI>
            <InstallToAvailablePartition>true</InstallToAvailablePartition>
     </OSImage>
</ImageInstall>



Your new Autounattend.xml file without key.

Attached File(s)


This post has been edited by myselfidem: 22 January 2012 - 08:15 AM


Share this topic:


  • 25 Pages +
  • « First
  • 15
  • 16
  • 17
  • 18
  • 19
  • Last »
  • You cannot start a new topic
  • You cannot reply to this topic

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



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