creating MS-Office 2013 package

Questions about WAPT Packaging / Requests and help regarding Wapt packages.
Forum Rules
Community Forum Rules
* English support on www.reddit.com/r/wapt
* French community support is available on this forum
* Please prefix the topic title with [RESOLVED] if it is resolved.
* Please do not edit a topic that is tagged [RESOLVED]. Open a new topic referencing the old one.
* Specify the installed WAPT version, full version, and build number (2.2.1.11957 / 2.2.2.12337 / etc.) as well as the Enterprise/Discovery edition.
* Versions 1.8.2 and earlier are no longer supported. The only questions accepted regarding version 1.8.2 are related to upgrading to a supported version (2.1, 2.2, etc.).
* Specify the server OS (Linux/Windows) and version (Debian Buster/Bullseye - CentOS 7 - Windows Server 2012/2016/2019).
* Specify the OS of the administration/package creation machine and the machine with the problematic agent, if applicable (Windows 7/10/11/Debian 11/etc.).
* Avoid asking multiple questions when opening a topic, otherwise it may be ignored. If there are multiple topics, open separate topics, preferably one after the other and not all at the same time (i.e., do not spam the forum).
* Include code snippets, screenshots, and other images directly in the post. Links to Pastebin, Bitly, and other third-party sites will be systematically removed.
* As with any community forum, support is provided voluntarily by members. If you require commercial support, you can contact Tranquil IT's sales department at 02.40.97.57.55
Jonathan
Messages: 9
Registration: Oct 06, 2015 - 12:59

October 26, 2015 - 12:44

Hello,
I'm contacting you again because I tried deploying MS Office according to the information you provided. This allowed me to make progress. I was able to deploy the MS Office package on another machine, but it displays a critical error message regarding its installation. It seems to be looking for the "silent.msp" file (the one I created and placed in the Office "updates" folder) (see attached). I tried placing it elsewhere, but the error persists. I think my script is still incorrect, but I don't know where!

Secondly, I can no longer deploy directly via my administrator console when I click "save and apply." I get an error message: "The upgrade could not be started: Restricted access." Yet, I have full administrator privileges. On the test laptop, I need to click "Install updates" for my packages to install.
Thank you
. Sincerely,
Jonathan
Attachments
Screenshot of ms-office folder.JPG
Screenshot of ms-office folder.JPG (114.33 KB) Viewed 8781 times
message on pc-test.JPG
message on pc-test.JPG (23.91 KB) Viewed 8781 times
ERROR2.JPG
ERROR2.JPG (119.05 KB) Viewed 8781 times
Jonathan
Messages: 9
Registration: Oct 06, 2015 - 12:59

October 26, 2015 - 12:46

Here are some more images attached.
Thanks
, Jonathan.
Attachments
setuppy.JPG
setuppy.JPG (157.04 KB) Viewed 8781 times
updates.JPG
updates.JPG (36.77 KB) Viewed 8781 times
User avatar
sfonteneau
WAPT Expert
Messages: 2318
Registered: July 10, 2014 - 11:52 PM
Contact :

October 26, 2015 - 1:25 PM

The silent.msp file must be in the root directory of the package, in the same folder as setup.exe, and not in the update folder.

Regarding the restricted access issue:

The problem occurs during certain startups; more information is available here:
http://lists.tranquil.it/pipermail/wapt ... 01318.html
Rudy
Messages: 8
Registration: Oct 23, 2015 - 2:26 p.m.

October 26, 2015 - 3:23 PM

Here are the errors I'm getting on the console (attached)

I also noticed that when performing a local installation before the package was published on my server, I get an Office error
error3.png
error3.png (23.58 KB) Viewed 8777 times
The installation can only be performed if it's the first time. Therefore, on the client machine, which already uninstalled Office 2013 for testing purposes, there must still be remnants of the previous installation, even after cleaning the PC with CCleaner.

I think that's why my previous script worked once and then never again.
Is there a way to get around this?
Attachments
error2-.jpg
error2-.jpg (195.42 KB) Viewed 8777 times
error-.jpg
error-.jpg (185.56 KB) Viewed 8777 times
User avatar
sfonteneau
WAPT Expert
Messages: 2318
Registered: July 10, 2014 - 11:52 PM
Contact :

October 26, 2015 - 4:32 PM

Indeed, the error in the console indicates that the timeout reached 1200 seconds and quit.

Actually, it's the famous window that should appear.

Indeed, there must still be some residue from the old installation that went wrong, and that's what's causing you problems.

Code: Select all

setup.exe /adminfile silent.msp
cannot be executed only once, which is why in setup.py there is a test to see if Microsoft Office 2013 appears in the list of software on the machine.
Jonathan
Messages: 9
Registration: Oct 06, 2015 - 12:59

October 27, 2015 - 3:29 PM

Thanks again for the information!
My deployment failed because when I saved my .msp file, I didn't save it in the root directory from the start, but in the update folder. Even after moving it, it wouldn't recognize the change. So, I deleted it and did it again correctly. The deployment went perfectly.

My only issue is that my KMS script (.vbs) didn't activate my Microsoft Office.
I'm looking for how to add this to my setup.py file.
I would be very grateful if anyone could help me. Thanks,
Jonathan
User avatar
sfonteneau
WAPT Expert
Messages: 2318
Registered: July 10, 2014 - 11:52 PM
Contact :

October 27, 2015 - 7:31 PM

You can add the following to the end of the script:

You need to add the kms.vbs script to the root of your wapt package, then add this to setup.py:

run("kms.vbs")

Simon
Rudy
Messages: 8
Registration: Oct 23, 2015 - 2:26 p.m.

October 29, 2015 - 11:11

Hello,

I'm reaching out to the community again because I'm still unable to install Office 2010 or 2013 using WAPT.
I've tried deploying the Office suite again on a freshly installed Windows 7 machine, but still nothing. I'm encountering the same errors mentioned in my previous messages.

When I check my client, I can see the package in the WAPT "cache" folder, but no installation takes place.

However, when I test the package on my local machine (using the `wapt-get install` command) before publishing it to my repository, it works.

Do you have any suggestions?

Thanks in advance
, Rudy
User avatar
sfonteneau
WAPT Expert
Messages: 2318
Registered: July 10, 2014 - 11:52 PM
Contact :

October 30, 2015 - 11:10

I'm a bit confused by the different messages I've received.

Could you please send the contents of your setup.py file,

along with screenshots of your console (including any errors (by clicking on the package with the error))

and also a screenshot of the package in your private repository?

Simon
User avatar
sfonteneau
WAPT Expert
Messages: 2318
Registered: July 10, 2014 - 11:52 PM
Contact :

October 30, 2015 - 12:12

It's very surprising that it works with wapt-get install and not through the console.
Locked