MSFN Forum: Run once in nlite - MSFN Forum

Jump to content


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

Run once in nlite Rate Topic: -----

#1 User is offline   southwest2118 

  • Group: Members
  • Posts: 9
  • Joined: 28-March 09

  Posted 28 March 2009 - 04:15 PM

:hello:

i'm just starting out. but need some info

i want (setup.exe) in "I386\SVCPACK\office2007" to run at some point in the install of windows.

right now i have the office 2007 install as unattended using the OCT. so at this time i can just hit setup.exe and it will do the rest and the only thing i will have to do is close out the "install complete" window at the end.

my question is in nlite if i add the "runonce" command "%source%I386\SVCPACK\office2007\setup.exe" will it start it?

%source% means copy only right? so how do i run setup


#2 User is offline   strel 

  • segmentation fault
  • PipPipPipPip
  • Group: Members
  • Posts: 629
  • Joined: 24-February 08
  • OS:XP Pro x86
  • Country: Country Flag

Posted 28 March 2009 - 04:48 PM

I think yes, help says %SOURCE% is CD/DVD drive letter I suppose is in the format x:\
I don't get what are you meaining with "copy only", it will run from source media.

#3 User is offline   southwest2118 

  • Group: Members
  • Posts: 9
  • Joined: 28-March 09

Posted 28 March 2009 - 06:30 PM

ya i dont know what i mean either .?

i'm installing windows right not - got a error "windows cannot load internet configuration library, ICFGNT.DLL. the following specified module could not be found" - looks like some other people are having this same problem and is due to RyanVM updates - but i installed xable's maybe its the same problem.

holy crap its installing office. :thumbup

#4 User is offline   southwest2118 

  • Group: Members
  • Posts: 9
  • Joined: 28-March 09

Posted 28 March 2009 - 11:19 PM

office installed fine how can i make it hit the the close button in the end? for the screen that says install complete?
using run once commands - if i dont do that the install will wait.

this is my batch file (cmd)

Quote

for /f "tokens=3" %%i IN ('reg query HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Setup /v "SourcePath" ^| findstr "REG_SZ"') do set SOURCE=%%i
%source%I386\SVCPACK\office2007\setup.exe
EXIT


and why dosen't packs by xable appear on winupdateslist ?
Posted Image

This post has been edited by southwest2118: 29 March 2009 - 12:12 AM


#5 User is offline   strel 

  • segmentation fault
  • PipPipPipPip
  • Group: Members
  • Posts: 629
  • Joined: 24-February 08
  • OS:XP Pro x86
  • Country: Country Flag

Posted 29 March 2009 - 08:37 AM

I don't know how your office installer works, but try setup.exe /? to see if there's swithches for silent or passive installing. And there's a specific office forum, you can try there.

Your last KB929399 entry is not necessary. Xable's packs probably don't appear because they are built this way.
.cat files are catalog files, and you rarely will need it for installing online anything, just to avoid some security dialog boxes. As long as you're using nLite, you can remove them with option for it.

#6 User is offline   g-force 

  • Tester
  • PipPipPipPip
  • Group: Members
  • Posts: 596
  • Joined: 20-June 07
  • OS:XP Pro x86
  • Country: Country Flag

Posted 29 March 2009 - 09:30 AM

If you run "setup.exe /admin" you create an Admin-Install of Office 2007.
You generate an "mysetup.msp" which is copied to folder "Updates".
Office-Setup will read this file and execute the Setup like you wanted.
If there`s a last windows that don`t closes, you missed a setting.

I only got a german Office-Setup, but please run "setup.exe /admin" again,
load your pre-created .msp and check the settings:

Posted Image

#7 User is offline   southwest2118 

  • Group: Members
  • Posts: 9
  • Joined: 28-March 09

Posted 29 March 2009 - 06:32 PM

oh i see it.
Posted Image

i used Autoit to make a EXE file of Imageshack tool bar that will install it self.
i could problaly just drop this in the add-ons in nlite right?

http://cid-23c5da4d09adb5c6.skydrive.live....ar%20add-on.exe

FileInstall("imageshacktoolbar.msi", @TempDir & '\imageshacktoolbar.msi')
Run(@SystemDir & '\msiexec /i "' & @TempDir & '\imageshacktoolbar.msi"')
WinWaitActive("ImageShack Toolbar for Internet Explorer", "The installer")
Send("!n")
WinWaitActive("ImageShack Toolbar for Internet Explorer", "Please take")
Send("!a")
Send("!n")
WinWaitActive("ImageShack Toolbar for Internet Explorer", "ImageShack Toolbar for Internet Explorer has been")
Send("!c")
WinWaitActive("ImageShack® - Tdone - Windows Internet Explorer")
WinClose("ImageShack® - Tdone - Windows Internet Explorer")

This post has been edited by southwest2118: 31 March 2009 - 05:15 AM


#8 User is offline   g-force 

  • Tester
  • PipPipPipPip
  • Group: Members
  • Posts: 596
  • Joined: 20-June 07
  • OS:XP Pro x86
  • Country: Country Flag

Posted 29 March 2009 - 07:08 PM

Quote

i used Autoit to make a EXE file of Imageshack tool bar that will install it self.
i could problaly just drop this in the add-ons in nlite right?


No, you got to build an addon first.
Search the forum for addon, addon-maker, createur

#9 User is offline   southwest2118 

  • Group: Members
  • Posts: 9
  • Joined: 28-March 09

Posted 29 March 2009 - 10:54 PM

:thumbup
http://cid-23c5da4d09adb5c6.skydrive.live....ar%20add-on.exe

i used nlite add on maker. there's no need for switches right? tho "/quiet" wouldn't of hurt?

This post has been edited by southwest2118: 31 March 2009 - 05:15 AM


#10 User is offline   southwest2118 

  • Group: Members
  • Posts: 9
  • Joined: 28-March 09

Posted 30 March 2009 - 01:57 AM

hmm everything looks like it worked but

WinWaitActive("ImageShack® - Tdone - Windows Internet Explorer")
WinClose("ImageShack® - Tdone - Windows Internet Explorer")


IE stayed open

#11 User is offline   iamtheky 

  • Friend of MSFN
  • PipPipPipPipPip
  • Group: Members
  • Posts: 866
  • Joined: 11-November 08

Posted 30 March 2009 - 08:17 AM

since it should be active maybe

send "!{F4}"
send {enter}

This post has been edited by iamtheky: 30 March 2009 - 08:17 AM


#12 User is offline   southwest2118 

  • Group: Members
  • Posts: 9
  • Joined: 28-March 09

Posted 30 March 2009 - 12:08 PM

got a error.
Posted Image

the thing with the exe file i made is it only stays open during the windows install.

#13 User is offline   iamtheky 

  • Friend of MSFN
  • PipPipPipPipPip
  • Group: Members
  • Posts: 866
  • Joined: 11-November 08

Posted 30 March 2009 - 12:28 PM

sending the command

taskkill /f /im iexplore.exe

at any point after completion will end IE.


I'm not sure exactly where to go with detailed returns like

Quote

got a error.


Is it a problem with your exe running and terminating without executing all lines as desired, or is your exe hanging?

#14 User is offline   southwest2118 

  • Group: Members
  • Posts: 9
  • Joined: 28-March 09

Posted 31 March 2009 - 02:14 AM

View Postiamtheky, on Mar 30 2009, 01:28 PM, said:

sending the command

taskkill /f /im iexplore.exe



I'm not sure exactly where to go with detailed returns like

Quote

got a error.




i provided a picture :rolleyes: ... that i uploaded with Imageshack Toolbar now available at your local wal-mart for only $13.99.

how would i add "taskkill /f /im iexplore.exe"

in my svcpack.inf?

#15 User is offline   southwest2118 

  • Group: Members
  • Posts: 9
  • Joined: 28-March 09

Posted 31 March 2009 - 05:14 AM

ok believe i found the problem. with no internet the title changes. umm like duh (like some rich 14yo girl from the suburbs addicted to coke)

Posted Image


http://cid-23c5da4d09adb5c6.skydrive.live....ar%20add-on.exe

#16 User is offline   iamtheky 

  • Friend of MSFN
  • PipPipPipPipPip
  • Group: Members
  • Posts: 866
  • Joined: 11-November 08

Posted 31 March 2009 - 06:39 AM

some of us are proxied, and always feel retarded when linked image dont show up or even pretend that they are there. my bad, im sure its a very pretty picture.

can you attach an image rather than link it?

Share this topic:


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

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



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