Skip to content

Comments

Create microsoftofficefactoryreset.sh#751

Closed
wantedwriter wants to merge 1 commit intoInstallomator:mainfrom
wantedwriter:patch-4
Closed

Create microsoftofficefactoryreset.sh#751
wantedwriter wants to merge 1 commit intoInstallomator:mainfrom
wantedwriter:patch-4

Conversation

@wantedwriter
Copy link
Contributor

2022-11-03 13:27:06 : REQ : microsoftofficefactoryreset : ################## Start Installomator v. 10.0beta3, date 2022-10-03
2022-11-03 13:27:06 : INFO : microsoftofficefactoryreset : ################## Version: 10.0beta3
2022-11-03 13:27:06 : INFO : microsoftofficefactoryreset : ################## Date: 2022-10-03
2022-11-03 13:27:06 : INFO : microsoftofficefactoryreset : ################## microsoftofficefactoryreset
2022-11-03 13:27:06 : DEBUG : microsoftofficefactoryreset : DEBUG mode 1 enabled.
2022-11-03 13:27:06 : DEBUG : microsoftofficefactoryreset : name=Microsoft Office Factory Reset
2022-11-03 13:27:06 : DEBUG : microsoftofficefactoryreset : appName=
2022-11-03 13:27:06 : DEBUG : microsoftofficefactoryreset : type=pkg
2022-11-03 13:27:06 : DEBUG : microsoftofficefactoryreset : archiveName=
2022-11-03 13:27:06 : DEBUG : microsoftofficefactoryreset : downloadURL=https://office-reset.com/download/Microsoft_Office_Factory_Reset_1.9.1.pkg
2022-11-03 13:27:06 : DEBUG : microsoftofficefactoryreset : curlOptions=
2022-11-03 13:27:06 : DEBUG : microsoftofficefactoryreset : appNewVersion=
2022-11-03 13:27:06 : DEBUG : microsoftofficefactoryreset : appCustomVersion function: Not defined
2022-11-03 13:27:06 : DEBUG : microsoftofficefactoryreset : versionKey=CFBundleShortVersionString
2022-11-03 13:27:06 : DEBUG : microsoftofficefactoryreset : packageID=com.microsoft.reset.Factory
2022-11-03 13:27:06 : DEBUG : microsoftofficefactoryreset : pkgName=
2022-11-03 13:27:06 : DEBUG : microsoftofficefactoryreset : choiceChangesXML=
2022-11-03 13:27:06 : DEBUG : microsoftofficefactoryreset : expectedTeamID=QGS93ZLCU7
2022-11-03 13:27:06 : DEBUG : microsoftofficefactoryreset : blockingProcesses=
2022-11-03 13:27:06 : DEBUG : microsoftofficefactoryreset : installerTool=
2022-11-03 13:27:06 : DEBUG : microsoftofficefactoryreset : CLIInstaller=
2022-11-03 13:27:06 : DEBUG : microsoftofficefactoryreset : CLIArguments=
2022-11-03 13:27:06 : DEBUG : microsoftofficefactoryreset : updateTool=
2022-11-03 13:27:06 : DEBUG : microsoftofficefactoryreset : updateToolArguments=
2022-11-03 13:27:06 : DEBUG : microsoftofficefactoryreset : updateToolRunAsCurrentUser=
2022-11-03 13:27:06 : INFO : microsoftofficefactoryreset : BLOCKING_PROCESS_ACTION=tell_user
2022-11-03 13:27:07 : INFO : microsoftofficefactoryreset : NOTIFY=success
2022-11-03 13:27:07 : INFO : microsoftofficefactoryreset : LOGGING=DEBUG
2022-11-03 13:27:07 : INFO : microsoftofficefactoryreset : LOGO=/System/Applications/App Store.app/Contents/Resources/AppIcon.icns
2022-11-03 13:27:07 : INFO : microsoftofficefactoryreset : Label type: pkg
2022-11-03 13:27:07 : INFO : microsoftofficefactoryreset : archiveName: Microsoft Office Factory Reset.pkg
2022-11-03 13:27:07 : INFO : microsoftofficefactoryreset : no blocking processes defined, using Microsoft Office Factory Reset as default
2022-11-03 13:27:07 : DEBUG : microsoftofficefactoryreset : Changing directory to /usr/local/Installomator
2022-11-03 13:27:07 : INFO : microsoftofficefactoryreset : No version found using packageID com.microsoft.reset.Factory
2022-11-03 13:27:07 : INFO : microsoftofficefactoryreset : name: Microsoft Office Factory Reset, appName: Microsoft Office Factory Reset.app
2022-11-03 13:27:07 : WARN : microsoftofficefactoryreset : No previous app found
2022-11-03 13:27:07 : WARN : microsoftofficefactoryreset : could not find Microsoft Office Factory Reset.app
2022-11-03 13:27:07 : INFO : microsoftofficefactoryreset : appversion:
2022-11-03 13:27:07 : INFO : microsoftofficefactoryreset : Latest version not specified.
2022-11-03 13:27:07 : REQ : microsoftofficefactoryreset : Downloading https://office-reset.com/download/Microsoft_Office_Factory_Reset_1.9.1.pkg to Microsoft Office Factory Reset.pkg
2022-11-03 13:27:07 : DEBUG : microsoftofficefactoryreset : No Dialog connection, just download
2022-11-03 13:27:07 : DEBUG : microsoftofficefactoryreset : File list: -rw-r--r-- 1 root wheel 77K Nov 3 13:27 Microsoft Office Factory Reset.pkg
2022-11-03 13:27:07 : DEBUG : microsoftofficefactoryreset : File type: Microsoft Office Factory Reset.pkg: xar archive compressed TOC: 8316, SHA-1 checksum
2022-11-03 13:27:07 : DEBUG : microsoftofficefactoryreset : curl output was:

  • Trying 74.208.236.117:443...
  • Connected to office-reset.com (74.208.236.117) port 443 (#0)
  • ALPN: offers h2
  • ALPN: offers http/1.1
  • CAfile: /etc/ssl/cert.pem
  • CApath: none
  • (304) (OUT), TLS handshake, Client hello (1):
    } [321 bytes data]
  • (304) (IN), TLS handshake, Server hello (2):
    { [70 bytes data]
  • TLSv1.2 (IN), TLS handshake, Certificate (11):
    { [2762 bytes data]
  • TLSv1.2 (IN), TLS handshake, Server key exchange (12):
    { [300 bytes data]
  • TLSv1.2 (IN), TLS handshake, Server finished (14):
    { [4 bytes data]
  • TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
    } [37 bytes data]
  • TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
    } [1 bytes data]
  • TLSv1.2 (OUT), TLS handshake, Finished (20):
    } [16 bytes data]
  • TLSv1.2 (IN), TLS change cipher, Change cipher spec (1):
    { [1 bytes data]
  • TLSv1.2 (IN), TLS handshake, Finished (20):
    { [16 bytes data]
  • SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
  • ALPN: server accepted h2
  • Server certificate:
  • subject: CN=*.office-reset.com
  • start date: Jul 26 00:00:00 2022 GMT
  • expire date: Aug 10 23:59:59 2023 GMT
  • subjectAltName: host "office-reset.com" matched cert's "office-reset.com"
  • issuer: C=US; O=DigiCert Inc; OU=www.digicert.com; CN=Encryption Everywhere DV TLS CA - G1
  • SSL certificate verify ok.
  • Using HTTP2, server supports multiplexing
  • Copying HTTP/2 data in stream buffer to connection buffer after upgrade: len=0
  • h2h3 [:method: GET]
  • h2h3 [:path: /download/Microsoft_Office_Factory_Reset_1.9.1.pkg]
  • h2h3 [:scheme: https]
  • h2h3 [:authority: office-reset.com]
  • h2h3 [user-agent: curl/7.84.0]
  • h2h3 [accept: /]
  • Using Stream ID: 1 (easy handle 0x133812400)

GET /download/Microsoft_Office_Factory_Reset_1.9.1.pkg HTTP/2
Host: office-reset.com
user-agent: curl/7.84.0
accept: /

  • Connection state changed (MAX_CONCURRENT_STREAMS == 8)! < HTTP/2 200
    < content-length: 79284
    < date: Thu, 03 Nov 2022 18:27:07 GMT
    < server: Apache
    < last-modified: Thu, 21 Jul 2022 21:06:42 GMT
    < etag: "135b4-5e45718263c80"
    < accept-ranges: bytes
    < cache-control: max-age=172800
    < expires: Sat, 05 Nov 2022 18:27:07 GMT
    <
    { [16184 bytes data]
  • Connection #0 to host office-reset.com left intact

2022-11-03 13:27:07 : DEBUG : microsoftofficefactoryreset : DEBUG mode 1, not checking for blocking processes
2022-11-03 13:27:07 : REQ : microsoftofficefactoryreset : Installing Microsoft Office Factory Reset
2022-11-03 13:27:07 : INFO : microsoftofficefactoryreset : Verifying: Microsoft Office Factory Reset.pkg
2022-11-03 13:27:07 : DEBUG : microsoftofficefactoryreset : File list: -rw-r--r-- 1 root wheel 77K Nov 3 13:27 Microsoft Office Factory Reset.pkg
2022-11-03 13:27:07 : DEBUG : microsoftofficefactoryreset : File type: Microsoft Office Factory Reset.pkg: xar archive compressed TOC: 8316, SHA-1 checksum
2022-11-03 13:27:07 : DEBUG : microsoftofficefactoryreset : spctlOut is Microsoft Office Factory Reset.pkg: accepted
2022-11-03 13:27:07 : DEBUG : microsoftofficefactoryreset : source=Notarized Developer ID
2022-11-03 13:27:07 : DEBUG : microsoftofficefactoryreset : origin=Developer ID Installer: Paul Bowden (QGS93ZLCU7)
2022-11-03 13:27:07 : INFO : microsoftofficefactoryreset : Team ID: QGS93ZLCU7 (expected: QGS93ZLCU7 )
2022-11-03 13:27:07 : DEBUG : microsoftofficefactoryreset : DEBUG enabled, skipping installation
2022-11-03 13:27:07 : INFO : microsoftofficefactoryreset : Finishing...
2022-11-03 13:27:10 : INFO : microsoftofficefactoryreset : No version found using packageID com.microsoft.reset.Factory
2022-11-03 13:27:10 : INFO : microsoftofficefactoryreset : name: Microsoft Office Factory Reset, appName: Microsoft Office Factory Reset.app
2022-11-03 13:27:10 : WARN : microsoftofficefactoryreset : No previous app found
2022-11-03 13:27:10 : WARN : microsoftofficefactoryreset : could not find Microsoft Office Factory Reset.app
2022-11-03 13:27:10 : REQ : microsoftofficefactoryreset : Installed Microsoft Office Factory Reset
2022-11-03 13:27:10 : INFO : microsoftofficefactoryreset : notifying
2022-11-03 13:27:10 : DEBUG : microsoftofficefactoryreset : DEBUG mode 1, not reopening anything
2022-11-03 13:27:10 : REQ : microsoftofficefactoryreset : All done!
2022-11-03 13:27:10 : REQ : microsoftofficefactoryreset : ################## End Installomator, exit code 0

2022-11-03 13:27:06 : REQ   : microsoftofficefactoryreset : ################## Start Installomator v. 10.0beta3, date 2022-10-03
2022-11-03 13:27:06 : INFO  : microsoftofficefactoryreset : ################## Version: 10.0beta3
2022-11-03 13:27:06 : INFO  : microsoftofficefactoryreset : ################## Date: 2022-10-03
2022-11-03 13:27:06 : INFO  : microsoftofficefactoryreset : ################## microsoftofficefactoryreset
2022-11-03 13:27:06 : DEBUG : microsoftofficefactoryreset : DEBUG mode 1 enabled.
2022-11-03 13:27:06 : DEBUG : microsoftofficefactoryreset : name=Microsoft Office Factory Reset
2022-11-03 13:27:06 : DEBUG : microsoftofficefactoryreset : appName=
2022-11-03 13:27:06 : DEBUG : microsoftofficefactoryreset : type=pkg
2022-11-03 13:27:06 : DEBUG : microsoftofficefactoryreset : archiveName=
2022-11-03 13:27:06 : DEBUG : microsoftofficefactoryreset : downloadURL=https://office-reset.com/download/Microsoft_Office_Factory_Reset_1.9.1.pkg
2022-11-03 13:27:06 : DEBUG : microsoftofficefactoryreset : curlOptions=
2022-11-03 13:27:06 : DEBUG : microsoftofficefactoryreset : appNewVersion=
2022-11-03 13:27:06 : DEBUG : microsoftofficefactoryreset : appCustomVersion function: Not defined
2022-11-03 13:27:06 : DEBUG : microsoftofficefactoryreset : versionKey=CFBundleShortVersionString
2022-11-03 13:27:06 : DEBUG : microsoftofficefactoryreset : packageID=com.microsoft.reset.Factory
2022-11-03 13:27:06 : DEBUG : microsoftofficefactoryreset : pkgName=
2022-11-03 13:27:06 : DEBUG : microsoftofficefactoryreset : choiceChangesXML=
2022-11-03 13:27:06 : DEBUG : microsoftofficefactoryreset : expectedTeamID=QGS93ZLCU7
2022-11-03 13:27:06 : DEBUG : microsoftofficefactoryreset : blockingProcesses=
2022-11-03 13:27:06 : DEBUG : microsoftofficefactoryreset : installerTool=
2022-11-03 13:27:06 : DEBUG : microsoftofficefactoryreset : CLIInstaller=
2022-11-03 13:27:06 : DEBUG : microsoftofficefactoryreset : CLIArguments=
2022-11-03 13:27:06 : DEBUG : microsoftofficefactoryreset : updateTool=
2022-11-03 13:27:06 : DEBUG : microsoftofficefactoryreset : updateToolArguments=
2022-11-03 13:27:06 : DEBUG : microsoftofficefactoryreset : updateToolRunAsCurrentUser=
2022-11-03 13:27:06 : INFO  : microsoftofficefactoryreset : BLOCKING_PROCESS_ACTION=tell_user
2022-11-03 13:27:07 : INFO  : microsoftofficefactoryreset : NOTIFY=success
2022-11-03 13:27:07 : INFO  : microsoftofficefactoryreset : LOGGING=DEBUG
2022-11-03 13:27:07 : INFO  : microsoftofficefactoryreset : LOGO=/System/Applications/App Store.app/Contents/Resources/AppIcon.icns
2022-11-03 13:27:07 : INFO  : microsoftofficefactoryreset : Label type: pkg
2022-11-03 13:27:07 : INFO  : microsoftofficefactoryreset : archiveName: Microsoft Office Factory Reset.pkg
2022-11-03 13:27:07 : INFO  : microsoftofficefactoryreset : no blocking processes defined, using Microsoft Office Factory Reset as default
2022-11-03 13:27:07 : DEBUG : microsoftofficefactoryreset : Changing directory to /usr/local/Installomator
2022-11-03 13:27:07 : INFO  : microsoftofficefactoryreset : No version found using packageID com.microsoft.reset.Factory
2022-11-03 13:27:07 : INFO  : microsoftofficefactoryreset : name: Microsoft Office Factory Reset, appName: Microsoft Office Factory Reset.app
2022-11-03 13:27:07 : WARN  : microsoftofficefactoryreset : No previous app found
2022-11-03 13:27:07 : WARN  : microsoftofficefactoryreset : could not find Microsoft Office Factory Reset.app
2022-11-03 13:27:07 : INFO  : microsoftofficefactoryreset : appversion: 
2022-11-03 13:27:07 : INFO  : microsoftofficefactoryreset : Latest version not specified.
2022-11-03 13:27:07 : REQ   : microsoftofficefactoryreset : Downloading https://office-reset.com/download/Microsoft_Office_Factory_Reset_1.9.1.pkg to Microsoft Office Factory Reset.pkg
2022-11-03 13:27:07 : DEBUG : microsoftofficefactoryreset : No Dialog connection, just download
2022-11-03 13:27:07 : DEBUG : microsoftofficefactoryreset : File list: -rw-r--r--  1 root  wheel    77K Nov  3 13:27 Microsoft Office Factory Reset.pkg
2022-11-03 13:27:07 : DEBUG : microsoftofficefactoryreset : File type: Microsoft Office Factory Reset.pkg: xar archive compressed TOC: 8316, SHA-1 checksum
2022-11-03 13:27:07 : DEBUG : microsoftofficefactoryreset : curl output was:
*   Trying 74.208.236.117:443...
* Connected to office-reset.com (74.208.236.117) port 443 (#0)
* ALPN: offers h2
* ALPN: offers http/1.1
*  CAfile: /etc/ssl/cert.pem
*  CApath: none
* (304) (OUT), TLS handshake, Client hello (1):
} [321 bytes data]
* (304) (IN), TLS handshake, Server hello (2):
{ [70 bytes data]
* TLSv1.2 (IN), TLS handshake, Certificate (11):
{ [2762 bytes data]
* TLSv1.2 (IN), TLS handshake, Server key exchange (12):
{ [300 bytes data]
* TLSv1.2 (IN), TLS handshake, Server finished (14):
{ [4 bytes data]
* TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
} [37 bytes data]
* TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
} [1 bytes data]
* TLSv1.2 (OUT), TLS handshake, Finished (20):
} [16 bytes data]
* TLSv1.2 (IN), TLS change cipher, Change cipher spec (1):
{ [1 bytes data]
* TLSv1.2 (IN), TLS handshake, Finished (20):
{ [16 bytes data]
* SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
* ALPN: server accepted h2
* Server certificate:
*  subject: CN=*.office-reset.com
*  start date: Jul 26 00:00:00 2022 GMT
*  expire date: Aug 10 23:59:59 2023 GMT
*  subjectAltName: host "office-reset.com" matched cert's "office-reset.com"
*  issuer: C=US; O=DigiCert Inc; OU=www.digicert.com; CN=Encryption Everywhere DV TLS CA - G1
*  SSL certificate verify ok.
* Using HTTP2, server supports multiplexing
* Copying HTTP/2 data in stream buffer to connection buffer after upgrade: len=0
* h2h3 [:method: GET]
* h2h3 [:path: /download/Microsoft_Office_Factory_Reset_1.9.1.pkg]
* h2h3 [:scheme: https]
* h2h3 [:authority: office-reset.com]
* h2h3 [user-agent: curl/7.84.0]
* h2h3 [accept: */*]
* Using Stream ID: 1 (easy handle 0x133812400)
> GET /download/Microsoft_Office_Factory_Reset_1.9.1.pkg HTTP/2
> Host: office-reset.com
> user-agent: curl/7.84.0
> accept: */*
> 
* Connection state changed (MAX_CONCURRENT_STREAMS == 8)!
< HTTP/2 200 
< content-length: 79284
< date: Thu, 03 Nov 2022 18:27:07 GMT
< server: Apache
< last-modified: Thu, 21 Jul 2022 21:06:42 GMT
< etag: "135b4-5e45718263c80"
< accept-ranges: bytes
< cache-control: max-age=172800
< expires: Sat, 05 Nov 2022 18:27:07 GMT
< 
{ [16184 bytes data]
* Connection #0 to host office-reset.com left intact

2022-11-03 13:27:07 : DEBUG : microsoftofficefactoryreset : DEBUG mode 1, not checking for blocking processes
2022-11-03 13:27:07 : REQ   : microsoftofficefactoryreset : Installing Microsoft Office Factory Reset
2022-11-03 13:27:07 : INFO  : microsoftofficefactoryreset : Verifying: Microsoft Office Factory Reset.pkg
2022-11-03 13:27:07 : DEBUG : microsoftofficefactoryreset : File list: -rw-r--r--  1 root  wheel    77K Nov  3 13:27 Microsoft Office Factory Reset.pkg
2022-11-03 13:27:07 : DEBUG : microsoftofficefactoryreset : File type: Microsoft Office Factory Reset.pkg: xar archive compressed TOC: 8316, SHA-1 checksum
2022-11-03 13:27:07 : DEBUG : microsoftofficefactoryreset : spctlOut is Microsoft Office Factory Reset.pkg: accepted
2022-11-03 13:27:07 : DEBUG : microsoftofficefactoryreset : source=Notarized Developer ID
2022-11-03 13:27:07 : DEBUG : microsoftofficefactoryreset : origin=Developer ID Installer: Paul Bowden (QGS93ZLCU7)
2022-11-03 13:27:07 : INFO  : microsoftofficefactoryreset : Team ID: QGS93ZLCU7 (expected: QGS93ZLCU7 )
2022-11-03 13:27:07 : DEBUG : microsoftofficefactoryreset : DEBUG enabled, skipping installation
2022-11-03 13:27:07 : INFO  : microsoftofficefactoryreset : Finishing...
2022-11-03 13:27:10 : INFO  : microsoftofficefactoryreset : No version found using packageID com.microsoft.reset.Factory
2022-11-03 13:27:10 : INFO  : microsoftofficefactoryreset : name: Microsoft Office Factory Reset, appName: Microsoft Office Factory Reset.app
2022-11-03 13:27:10 : WARN  : microsoftofficefactoryreset : No previous app found
2022-11-03 13:27:10 : WARN  : microsoftofficefactoryreset : could not find Microsoft Office Factory Reset.app
2022-11-03 13:27:10 : REQ   : microsoftofficefactoryreset : Installed Microsoft Office Factory Reset
2022-11-03 13:27:10 : INFO  : microsoftofficefactoryreset : notifying
2022-11-03 13:27:10 : DEBUG : microsoftofficefactoryreset : DEBUG mode 1, not reopening anything
2022-11-03 13:27:10 : REQ   : microsoftofficefactoryreset : All done!
2022-11-03 13:27:10 : REQ   : microsoftofficefactoryreset : ################## End Installomator, exit code 0
@wantedwriter wantedwriter changed the title Create microsoftofficefactoryreset Create microsoftofficefactoryreset.sh Nov 3, 2022
@wantedwriter
Copy link
Contributor Author

Note: appnewversion not included on this label because this .pkg simply resets MS Office to factory defaults.

"Factory Reset removes all user-preferences, group and per-app containers. It removes temporary caches, keychain entries and mailbox content. Essentially, it just leaves behind the app bundles in /Applications and supporting tools such as MAU and computer-level agents."

@scriptingosx scriptingosx added the application adds or improves an application label label Nov 18, 2022
@scriptingosx scriptingosx added this to the v10.1 milestone Nov 18, 2022
@scriptingosx
Copy link
Collaborator

Filename was missing .sh. Fixed in merge.

Thank you

@wantedwriter
Copy link
Contributor Author

Thanks for the correction, still somewhat new to GitHub.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

application adds or improves an application label

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants