Skip to content
View in the app

A better way to browse. Learn more.

MSFN

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

setupcomplete.cmd didn´t start?

Featured Replies

Hello!

I´ve read a dozen articles about unattended Windows installations and I think I have done all things right, but apperently not?

In my Windows Vista folder (a copy of a Vista DVD) I created $OEM$\$$\Setup\Scripts folder ( the folder $$ inside $OEM$ and so on). In the folder "Scripts" I put my Setupcomplete.cmd file which I´ve tested seperatly and seems to work just fine. It should start my WPI.hta in Windows Vista\WPI\WPI.hta

Now to the problem: :unsure:

I used vLite to make the Windows Vista folder to a bootable .iso file which I tested in Virtual Box but WPI never started? The installation went on as usual?

Where did I go wrong? :blushing:

/eric.scott :hello:

You need to create your $OEM$ folder in your Sources folder and place your setupcomplete.cmd in $OEM$\$$\SETUP\SCRIPTS folder. In XP when setting up my wpi I placed a wpi.cmd file in the $OEM$ folder it worked. I would think this would be the same for Vista

Edited by EagleWing

  • Author

Thanks for the tip. I used this file package:

Here is a quick start package that will set WPI to start after first logon of a Vista installation. Simply place this sources folder at the root of your disk.

This is for all versions of Windows Vista and 2008

Sources folder <-- Link!

Contents of the sources archive:

setupcomplete.cmd

I unrared it and put the $oem$ folder inside my Windows Vista DVD (equivalent with sources folder I presume?).

The content of sources.rar is the same as mine was last time I tested.

Sadly it didn`t start WPI (setupcomplete.cmd was never ran).

:hello: Any suggestions?

:rolleyes: /eric.scott

Simply place this sources folder at the root of your disk.

DO NOT change the folder structure of the archive!

Right click on the archive and "Extract Here" then grab the resulting folder and just drop in your Vista DVD folder.

It has to be several folders deep and in the exact place.

  • Author

Thanks! I followed the instruction.

My setupcomplete.cmd is now in:

My Vista DVD\sources\$oem$\$$\setup\scripts\

Sadly it didn`t triggerd WPI.

:hello: /eric.scott

  • 2 weeks later...
  • Author

Yes I have a install.wim file in the folder sources, about 2,6 GB in size.

The disc is an original, bought in a store.

Sorry for the late answer, I didn´t get any Topic Subscription Reply Notification mail.

Thanks very much

/eric.scott :hello:

  • 3 months later...

OK since this needs revisited:

Let me get a pic...

Ok now for the next round of questions:

Is there a file name something like autoattended.xml at the source of your dvd?

Did you vLite your disk?

This is the code in setupcomplete.cmd

REG ADD "HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main" /V "Disable Script Debugger" /T "REG_SZ" /D "no" /F
REG ADD "HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main" /V "DisableScriptDebuggerIE" /T "REG_SZ" /D "no" /F

for %%i in (C D E F G H I J K L M N O P Q R S T U V W X Y Z) do if exist %%i:\sources\install.wim set CDROM=%%i:
echo Found CD-Rom as drive %CDROM%

Start %cdrom%\WPI\wpi.hta

del %0

As you can see it looks for the %root%\sources\install.wim

When WPI runs is RIGHT after the logon phase and bfore the desktop and crap loads.

Can you take a pic of the folder layout of your disk for me?

Sorry if I am rambling I have been up all night.

  • Author
Is there a file name something like autoattended.xml at the source of your dvd?

No

Did you vLite your disk?

Yes, to a .iso file and tested it with Virtual Box

The code in setupcomplete.cmd is the same.

When WPI runs is RIGHT after the logon phase and bfore the desktop and crap loads.

Thanks for the tip! When I testrun my DVD I always wait well past that.

Can you take a pic of the folder layout of your disk for me?

Certainly

I will test one more time like this just in case!

Thanks for fast replies!

:hello:

post-213797-1248551146_thumb.jpg

Create an account or sign in to comment

Recently Browsing 0

  • No registered users viewing this page.

Account

Navigation

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.