Help - Search - Members - Calendar
Full Version: Unattended install - troubles
MSFN Forums > Unattended Windows Discussion & Support > Application Installs

   
Google Internet Forums Unattended CD/DVD Guide
Nemini
hi all,

My problems are the following:

1) I've create XP-sp1 cd with drivers and application, and the runonceex.cmd; everything is ok but, as I create a install/catalyst3.10 folder, when I login the catalyst appears not to be installed at all. Why?

this is the line inside the runonceex.cmd:

CODE
REG ADD %KEY%\003 /VE /D "Ati Catalyst 3.10" /f
REG ADD %KEY%\003 /V 1 /D "%systemdrive%\install\Catalyst3.10\Setup.exe -s -f1"%systemdrive%\install\Catalyst3.10\setup.iss"   /f


Obviously, the ISS file has been created by running the original setup with the /r suffix.

2) I need to login with as a defined user' and so I've made a user.cmd which creates that user. But I've noticed the Administrator user is created too. How to remove completely this user from being created?

The reference to the user.cmd is inside the runonceex, is it right?

3)well, I put into the Install dir the entire content of my adsl modem installation files.
As among them there's a ini file which supports the silent install, I modified it and I launched the setup the do a test. It worked great.
But,after the unattended install, when the runonceex runs it, nothing appears, and the modem is still uninstalled... why?? unsure.gif

At the end, I need to know if with the runonceex statement some applications MAY not be installed.

thanks smile.gif
Aaron
Anything is possible from RunOnceEx, its the same concept as batch files.

1) There are three mistakes I can spot:

1, You're only using one quotation mark for your iss file.
2, additional quotations should be put in as \" (see here, under Applications that use Quotations)
3, There's a three space gap between the last quotation mark and the /f

2) Useraccounts.cmd has no relevance to RunOnceEx, you want it executed during setup, so use cmdlines.txt. I don't think it would be wise to delete the default Administrator account, but it can be made hidden.

3) We need to see the code for it...
Nemini
1) Is this correct?

%systemdrive%\install\Catalyst3.10\Setup.exe" -s -f1 "%systemdrive%\install\Catalyst3.10\setup.iss" /f

R u tellin me I should use extra quotation marks with the character \ to safely run this code?

2) Tnx, moved to $oem$ path, and add the line to cmdlines.txt

3) here's the code:

inside runonceex:

CODE
REG ADD %KEY%\010 /VE /D "Scheda di rete SpeedWeb" /f
REG ADD %KEY%\010 /V 1 /D "%systemdrive%\install\SpeedWeb\Setup.exe /f


Inside the 'wwdslcfg.ini' (the ini file which setup.exe get installation informations from)

CODE
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; WWDSLCFG.INI
;;
;; Copyright 2000-2002 IPM Datacom s.r.l.
;;
;; Contains custimization parameters for the SpeedWeb ADSL Setup application.
;; This file must reside in the Windows Directory.
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

[SystemInfo]
Version=2.3.4

PromptForLanguage = 0
SupportedLanguages = ENGLISH
SetupSoftwareKey=GlobeSpanVirata\Adsl
ProgramFilesDir=\Programmi\IPM\Adsl\SpeedWeb
ProductName=Modem SpeedWeb Telecom Italia
HardwareType=USB
HardwarePlatform=QUASAR
UsbCtrlrId=USB\VID_0915&PID_8101,USB\VID_0FE8&PID_8101
ModemId=
EnableUpgrade=1
EnableAutoConfig=0
SkipConfigTypeScreen=0
SkipDetectResultsScreen=0
SkipWelcomeScreen=0
SkipLicenseScreen=0
SkipIspSelectionScreen=1
SkipSummaryScreen=0
SkipFinishedScreen=0
CplWindowName=DIOPORCO
CreateCplStartMenuShortcut=1
CreateUninstallIcon=1
Win2kReboot=1

HelpConfigTypeFile=
HelpConfigTypeParam=
HelpDetectFile=
HelpDetectParam=
HelpDetectErrorFile=
HelpDetectErrorParam=
HelpDetectResultsFile=
HelpDetectResultsParam=
HelpDriverTypeFile=
HelpDriverTypeParam=
HelpDrvTypeFile=
HelpDrvTypeParam=
HelpErrorFile=
HelpErrorParam=
HelpFinishedFile=
HelpFinishedParam=
HelpInstallFile=
HelpInstallParam=
HelpIspSelectFile=
HelpIspSelectParam=
HelpLicenseFile=
HelpLicenseParam=
HelpRebootFile=
HelpRebootParam=
HelpRemoveFile=
HelpRemoveParam=
HelpSettingsFile=
HelpSettingsParam=
HelpShutdownFile=
HelpShutdownParam=
HelpSummaryFile=
HelpSummaryParam=
HelpWelcomeFile=
HelpWelcomeParam=

MinVci=32
MaxVci=4095

ShowOtherIspChoice = 0
OtherIspAtEnd = 0
EnableHardDriveDma = 0
RemoveFromWinSysDir=
Win95RebootMode = SHUTDOWN
SuppressRebootPrompts = 0
MakeInstBmpTransparent = 1
IgnoreDialupPhoneNumber = 1
DisableWin2kWarning = 1
PppoeFrameSize = 1492
ExitBeforePnP = 0
InstallSilently = 1 <-- original was 0
StartMenuIconSections=StartMenuSampleDoc
IspSections=

Debug=ERROR

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

[DriverRegistryValues]

VendorId=39
CplDebugMode=0
IsLogoTransparent = 1


;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

;[StartMenuSampleDoc]

FileName=Manuale_SpeedWeb.pdf
Description=SpeedWeb User Manual
ShortcutToDesktop=0 <-- original was 1


; -------------------------------------------------------------------------
;                              ISP DESCRIPTIONS
; -------------------------------------------------------------------------

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

[IspDefault]
DriverLocation=WAN Driver
VPI=8
VCI=35
Layer3Protocol=7
Modulation=2
Description=ADSL Telecom Italia
CreateDialup=1
ShowSysTrayIcon=1
RunOnExit=
DialUpName=SpeedWeb USB ADSL modem
CreateDialupDeskShortcut=1
CreateDialupMenuShortcut=0
DialupShortcutIconIndex=-1
Aaron
This is how it should look:
REG ADD %KEY%\003 /V 1 /D "%systemdrive%\install\Catalyst3.10\Setup.exe -s -f1\"%systemdrive%\install\Catalyst3.10\setup.iss\"" /f

But since none of the filenames or foldernames have spaces, you don't need to use quotes at all, so use:

REG ADD %KEY%\003 /V 1 /D "%systemdrive%\install\Catalyst3.10\Setup.exe -s -f1%systemdrive%\install\Catalyst3.10\setup.iss" /f
Nemini
Tnx, corrected.

Any suggest about the 3)rd?
Google Internet Forums Unattended CD/DVD Guide
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.