Jump to content

[Solved] WinToolkit Installer - intsalling office fails


Etz
 Share

Recommended Posts

2. Yep it should work, don't see why not. You can have your installs/drivers/updates anything as long as you specified the correct places in the ini.

 

Well, I dont seem to quite understand. (Must have been long day, so I apologise)

 

If I dont edit Install.ini would it still work or I explictly have to change INSTALLDIR in there if I add Installer via AIO tool or it would just work by default?

 

PS: Connectivity issue resolved by itself, but still thx for the tip, I already tried that didnt help much :)

Link to comment
Share on other sites

If you add an install via AIO then you don't need to touch the install.ini. You can move the files as long as you specified the new location within the install.ini.

 

Basically the install.ini adds a list of locations to a list which already contains 2 locations by default. When it comes to your install entry it will just scan all the directories until it finds a match.

 

foreach (installlocation in list)

{

if (setup exists in this directory)

-{then install}

else

-{keep checking the other directories.}

}

Link to comment
Share on other sites

Hmm...for a some strange reason, it started to fail again with 1.4.34.14 (Didnt manage to test on 1.4.34.13), as it looks like, it adds trailing slash to the syntax for some strange reason.. :g:

 

Syntax used:

post-3142-0-74368800-1395344853_thumb.pn

 

Syntax from registry:

|%DVD%:\WinToolkit_Apps\Office_2013_Professional\Setup.exe*/configure %APP%\Setup.xml

Office Installer log output:

Timestamp    Process    TID    Area    Category    EventID    Level    Message    Correlation03/20/2014 21:28:45.503    SETUP (0x74c)    0x990        Click-To-Run    aqkhc    Medium    CmdLine:"D:\WinToolkit_Apps\Office_2013_Professional\Setup.exe" /configure D:\WinToolkit_Apps\Office_2013_Professional\Setup.xml\    03/20/2014 21:28:45.519    SETUP (0x74c)    0x990        Click-To-Run Telemetry    aqkhd    Medium    {"SessionID":"79e7ef88-bf61-45f5-94e8-615a33301b3b","GeoID":"70","Ver":"15.0.4595.1000","Bitness":"32","IntegrityLevel":"0x3000","SecuritySessionId":"1"}    03/20/2014 21:28:45.519    SETUP (0x74c)    0x990        Click-To-Run Telemetry    aqkhe    Medium    {"SessionID":"79e7ef88-bf61-45f5-94e8-615a33301b3b","GeoID":"70","Ver":"15.0.4595.1000","OSVersion":"6.2","SP":"0","ProductType":"1","ProcessorArch":"9","Locale":"1061"}    03/20/2014 21:28:45.519    SETUP (0x74c)    0x990        Click-To-Run    amawz    Medium    Args::ParseArgument: Parsing commandline.    03/20/2014 21:28:45.519    SETUP (0x74c)    0x990        Click-To-Run    ambpm    Medium    Args::Load: Have Admin scenario    03/20/2014 21:28:45.519    SETUP (0x74c)    0x990        Click-To-Run    amaw0    Medium    Args::GetNextArgument: Next argument: /configure    03/20/2014 21:28:45.519    SETUP (0x74c)    0x990        Click-To-Run    amaw0    Medium    Args::GetNextArgument: Next argument: D:\WinToolkit_Apps\Office_2013_Professional\Setup.xml\    03/20/2014 21:28:45.519    SETUP (0x74c)    0x990        Click-To-Run    aoh7y    Medium    Args::GetConfigFile: config file: D:\WinToolkit_Apps\Office_2013_Professional\Setup.xml\    03/20/2014 21:28:45.519    SETUP (0x74c)    0x990        Click-To-Run    appfq    Medium    Args::Load: product release id: none  culture: en-us    03/20/2014 21:28:45.519    SETUP (0x74c)    0x990        Click-To-Run    apvr9    Medium    TrySetUserRegistry::TrySetAttemptGetKey: Setting Attempt Get Key for none    03/20/2014 21:28:45.519    SETUP (0x74c)    0x990        Click-To-Run    amaw8    Medium    TrySetUserRegistry::TrySetLicenseTokenOrKey: No key or token found for none    03/20/2014 21:28:45.519    SETUP (0x74c)    0x990        Click-To-Run    aoh76    Medium    HandleCommandLineAction::HandleStateAction: Not OOD scenario nor showing ODT help, check for elevation.    03/20/2014 21:28:45.519    SETUP (0x74c)    0x990        Click-To-Run    aoh8l    Medium    TryGetElevation::HandleStateAction: Already running from elevated context.    03/20/2014 21:28:45.519    SETUP (0x74c)    0x990        Click-To-Run    aoh78    Medium    HandleCommandLineAction::HandleStateAction: Starting Admin tool scenario.    03/20/2014 21:28:45.519    SETUP (0x74c)    0x990        Click-To-Run    aoh8d    Medium    HandleCommandLineAction::HandleStateAction: Start installation with configuration file: D:\WinToolkit_Apps\Office_2013_Professional\Setup.xml\    03/20/2014 21:28:45.519    SETUP (0x74c)    0x990        Click-To-Run    anwv3    Medium    Configuration::InitializeDefaults: Base URL is http://officecdn.microsoft.com/pr/39168D7E-077B-48E7-872C-B232C3E72675    03/20/2014 21:28:45.519    SETUP (0x74c)    0x990        Click-To-Run    anwv1    Medium    Configuration::Load: Using the default values. No config file supplied.    03/20/2014 21:28:45.519    SETUP (0x74c)    0x990        Click-To-Run    aodb1    Medium    Configuration::AdjustBaseUrlForLocalSource: Found the version cab at: D:\WinToolkit_Apps\Office_2013_Professional\Office\Data\v32.cab    03/20/2014 21:28:45.519    SETUP (0x74c)    0x990        Click-To-Run    apm49    Medium    Configuration::AdjustBaseUrlForLocalSource: Removing \Office\Data    03/20/2014 21:28:45.519    SETUP (0x74c)    0x990        Click-To-Run    aodb0    Medium    Configuration::Load: Adjusted base url for local source: D:\WinToolkit_Apps\Office_2013_Professional    03/20/2014 21:28:45.519    SETUP (0x74c)    0x990        Click-To-Run    aqto1    Medium    BaseConfigure::TryGetConfiguration: Base Url D:\WinToolkit_Apps\Office_2013_Professional is of type DVD    03/20/2014 21:28:45.519    SETUP (0x74c)    0x990        Click-To-Run    ambbf    Medium    AdminConfigure::HandleStateAction: No product changes. Configuring an Update settings scenario.    03/20/2014 21:28:45.519    SETUP (0x74c)    0x990        Click-To-Run    ambbg    Medium    ConfigureUpdatesSettings::HandleStateAction: Installation path is: C:\Program Files\Microsoft Office 15\ClientX64    03/20/2014 21:28:45.519    SETUP (0x74c)    0x990        Click-To-Run    ambbl    Unexpected    ConfigureUpdatesSettings::HandleStateAction: OException has occured while trying to launch uninstallation UnexpectedError (ConfigureUpdatesSettings::HandleStateAction Unable to find a client installed at: C:\Program Files\Microsoft Office 15\ClientX64).    03/20/2014 21:28:45.519    SETUP (0x74c)    0x990        Click-To-Run    aoh71    Medium    BootstrapperState::OnError: Error has occured. Go to ExitBootStateMachine.    03/20/2014 21:28:45.519    SETUP (0x74c)    0x990        Click-To-Run    aoh9f    Medium    BootStateMachine::ShowFailureUI: Showing failure UI.    03/20/2014 21:41:15.269    SETUP (0x74c)    0x990        Click-To-Run    aoh72    Medium    ExitBootStateMachine::HandleStateAction: Bootstrapper workflow exiting with result: 0x0    03/20/2014 21:41:15.269    SETUP (0x74c)    0x990        Click-To-Run    aoh9z    Medium    AdminBootstrapper::Main: Installation came back with -2147418113.    03/20/2014 21:41:15.269    SETUP (0x74c)    0x990        Logging Liblet    aqc99    Medium    Logging liblet uninitializing.  

Notice, the trailing slash, which transforms Setup.xml to a directory (leaving "config file" undefined) and of course as a result It just fails again... :(

Edited by Etz
Link to comment
Share on other sites

Most installers dont have a so detailed log, fortunately Office Click-to-run installer has, check the first line, it even logs syntax that you actually used to execute Setup.exe :P

 

Makes script debugging pretty easy, heh.. :D

Edited by Etz
Link to comment
Share on other sites

Hmm...now this looks odd...

 

post-3142-0-04584900-1395353666_thumb.pn

 

It looks like it ran Setup.exe twice, according to logs, install itself succeeded though.

 

Anyway, will try to figure out what exactly went wrong, it shouldnt display any dialogs (and usually dont, no cmd window, no nothing that is why this XML is primarily used)

Edited by Etz
Link to comment
Share on other sites

I am pretty sure I havent integrated it multiple times as I always start testing with untouched copy :)

And I dont use install.ini (well at least so far).

 

Anyway will build new one from scratch tomorrow (khmm...technically today) evening, but now...off to bed :)

I may have mixed something and used old sourcedir, but its easy to figure out, there should be 2 entries in the registry then?

 

Will mount registry and check whats in there, will let you know (takes couple of minutes), as it indeed runs twice.

 

EDIT: Registry at least has only one entry present... :g:

 

post-3142-0-74895400-1395355538_thumb.pn

 

Anyway as I really may have mixed things up and used already processed source, I will try again at the evening.

To be sure I just deleted that directory, so no more mixups are possible :)

Edited by Etz
Link to comment
Share on other sites

No worries, as I always try to use youre "cutting edge" releases as I build Images solely only for my own personal purpose.

 

If no one would use those, and report any possible hiccups,  there would be no evolution and stable versions aswell... ;)

Edited by Etz
Link to comment
Share on other sites

Built image from scratch, and still no joy...

 

No CMD window, but install failed.

 

Now it wrapped syntax between " marks.

03/21/2014 22:31:15.965    SETUP (0xb98)    0xb6c        Click-To-Run    aqkhc    Medium    CmdLine:"D:\WinToolkit_Apps\Office_2013_Professional\Setup.exe" "/configure D:\WinToolkit_Apps\Office_2013_Professional\Setup.xml"

As a result install failed:

03/21/2014 22:31:15.965    SETUP (0xb98)    0xb6c        Click-To-Run    aoh8e    Monitorable    HandleCommandLineAction::HandleStateAction: Invalid Admin command. Command: "/configure D:\WinToolkit_Apps\Office_2013_Professional\Setup.xml"

Used latest stable 1.4.35

Edited by Etz
Link to comment
Share on other sites

Re-tested with latest stable: 1.4.36.2, still works like a charm. :)

 

I really owe you Lego, as this has been a real PITA for you to get this work properly.

 

But as there are lots of other installers also, which use similar method for tweaking and customizing the Setup process, I think lot of users will actually benefit from this :)

Edited by Etz
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...