Jump to content

Recommended Posts

Posted

oops...yeah i have put it in audit path....but why it wont work in audit path? :} will move it to specialize path...though i just want to know why it wont work in audit mode?


Posted
but why it wont work in audit path?

Well, can't tell for sure. But AFAIK system envrionment variables a loaded to the system environment only once - when the session starts. So if you let run the command in audit pass, than the session has already be started. SETX will set the AppzRoot variable to the registry than, but it will be present in during session after next logon.

This is the reason, why I put it to specialize pass. The system will reboot, before logon to audit pass, so the session is started again and AppzRoot variable is present.

Regards,

Martin

Posted

oh ...it mean a reboot is needed to start autoapps session. thnx for providing info martin....atleast i got some more knowledge caz of this apps error :D lol

Posted (edited)

Well, I don't know for sure if a complete reboot is necessary and you don't have to set one. Please don't missunderstand.

But system will logon to audit passes. That means from my point of view, that a new session is started and system environment is reloaded. Cause first it will run auditSystem pass and second auditUser when booting to audit mode.

But I don't know everything. So might be wrong.

Regards,

Martin

Edited by FireGeier
Posted

Finally it worked....:) thnx to martin & maxxpsoft for all ur helps....

i will keep u in mind, martin. thr are many things to learn from u ...hope u dont mind :)

Regards

AMIT

Posted
You're welcome AMIT!

Good to hear, that my guide isn't such bad and you got it working! :thumbup

It was easy, wasn't it. ;)

Regards,

Martin

yes, guide is so easy, i was not interested in vista deployment caz i didnt know how to use Windows SIM :angry: but after reading ur guide it became easy to understand terms of SIM ..thnx to you bro. :thumbup

Posted (edited)

Hi martin...i have another question, while installing appz, installation is showin box as below

04284633245bd08da.jpg

but i dont want installation to show full path, just want to show appz title only...like

Windows is now settting up following items:

Adobe Reader
Firefox
Daemon Tools
......

can i do tht? and how?

Regards

AMIT

Edited by amit_talkin
Posted

Hello Amit!

You need to set a Description in WSIM for all these synchronous commands, than you will see the Description only instead of full path. If you don't use the description, it seems to be that setup creates one by path info.

Regards,

Martin

Posted
				<RunSynchronousCommand wcm:action="add">
<Order>2</Order>
<Path>cmd /c %AppzRoot%install\Acrobat Reader\AdobeReader80.exe /sAll /rs</Path>
<Description>Acrobat Reader</Description>
</RunSynchronousCommand>

  • 2 weeks later...
Posted

Guys check plese this autounattended.xml will workin or not

 <?xml version="1.0" encoding="utf-8"?>
<unattend xmlns="urn:schemas-microsoft-com:unattend">
<settings pass="windowsPE">
<component name="Microsoft-Windows-International-Core-WinPE" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SetupUILanguage>
<UILanguage>en-US</UILanguage>
</SetupUILanguage>
<InputLocale>0415:00000415</InputLocale>
<SystemLocale>en-US</SystemLocale>
<UILanguage>en-US</UILanguage>
<UserLocale>en-US</UserLocale>
</component>
<component name="Microsoft-Windows-Setup" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<UserData>
<ProductKey>
<WillShowUI>OnError</WillShowUI>
<Key>XXXX</Key>
</ProductKey>
<AcceptEula>true</AcceptEula>
<FullName>Yurek</FullName>
<Organization>Heaven</Organization>
</UserData>
<Display>
<ColorDepth>32</ColorDepth>
<HorizontalResolution>1024</HorizontalResolution>
<RefreshRate>85</RefreshRate>
<VerticalResolution>768</VerticalResolution>
</Display>
<ImageInstall>
<OSImage>
<InstallFrom>
<MetaData wcm:action="add">
<Key>/IMAGE/NAME</Key>
<Value>Windows Vista ULTIMATE</Value>
</MetaData>
</InstallFrom>
<WillShowUI>OnError</WillShowUI>
<InstallToAvailablePartition>false</InstallToAvailablePartition>
</OSImage>
</ImageInstall>
</component>
</settings>
<settings pass="specialize">
<component name="Microsoft-Windows-Security-Licensing-SLC-UX" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SkipAutoActivation>true</SkipAutoActivation>
</component>
<component name="Microsoft-Windows-Deployment" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<RunSynchronous>
<RunSynchronousCommand wcm:action="add">
<Order>1</Order>
<Path>%WINDIR%\system32\sysprep\sysprep.exe /quiet /audit</Path>
</RunSynchronousCommand>
</RunSynchronous>
</component>
</settings>
<settings pass="auditUser">
<component name="Microsoft-Windows-Deployment" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<RunSynchronous>
<RunSynchronousCommand wcm:action="add">
<Order>1</Order>
<Path>cmd /c ";FOR %i IN (C D E F G H I J K L N M O P Q R S T U V W X Y Z) DO IF EXIST %i:\AppzRoot.txt SETX AppzRoot %i: -m";</Path>
<Order>2</Order>
<Path>cmd /c %AppzRoot%GROM\WPI\WPI.hta /sAll /rs</Path>
<Description>Open WPI</Description>
</RunSynchronousCommand>
<RunSynchronousCommand wcm:action="add">
<Order>10</Order>
<Path>%WINDIR%\system32\sysprep\sysprep.exe /quiet /oobe /reboot</Path>
</RunSynchronousCommand>
</RunSynchronous>
</component>
</settings>
<settings pass="oobeSystem">
<component name="Microsoft-Windows-Shell-Setup" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<AutoLogon>
<Enabled>true</Enabled>
<LogonCount>5</LogonCount>
<Username>Administrator</Username>
</AutoLogon>
<Display>
<ColorDepth>32</ColorDepth>
<DPI>96</DPI>
<HorizontalResolution>1024</HorizontalResolution>
<RefreshRate>85</RefreshRate>
<VerticalResolution>768</VerticalResolution>
</Display>
<OOBE>
<HideEULAPage>true</HideEULAPage>
<NetworkLocation>Home</NetworkLocation>
<ProtectYourPC>1</ProtectYourPC>
<SkipMachineOOBE>true</SkipMachineOOBE>
<SkipUserOOBE>true</SkipUserOOBE>
</OOBE>
<TimeZone>Central Time (US&Canada)</TimeZone>
</component>
</settings>
<cpi:offlineImage cpi:source="wim:h:/vistawork/dvd/sources/install.wim#Windows Vista ULTIMATE" xmlns:cpi="urn:schemas-microsoft-com:cpi" />
</unattend>

Posted

Hello Yurek!

Change this here inside Autounattend.xml,

<Path>cmd /c ";FOR %i IN (C D E F G H I J K L N M O P Q R S T U V W X Y Z) DO IF EXIST %i:\AppzRoot.txt SETX AppzRoot %i: -m";</Path>

to:

<Path>cmd /c "FOR %i IN (C D E F G H I J K L N M O P Q R S T U V W X Y Z) DO IF EXIST %i:\AppzRoot.txt SETX AppzRoot %i: -m"</Path>

The ";" supposed not to be there. Don't know for the moment where it's comming from, but just remove it manually from your Autounattend.xml.

Regards,

Martin

Posted

UA Vista Work perfectly but i do not now why do not open WPI.exe.

After installation do klik wpi.hata is ok work.

I will try with othet aplikations.

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...