We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

bladewrythe
Posts: 1
Joined: Thu Dec 20, 2018 3:53 pm

Advanced Installer Newbie - Office 365

Hi all,

I am a newbie to Advanced Installer. We purchased the Enterprise edition. Basically, I want to create a package to detect and remove previous versions (2010 & 2016) of Office, Project, and Visio if present and then install Office 365. After the installation I want to create start menu shortcuts/tiles for certain Office 365 apps. Has anyone done this before and/or can anyone point me in the right direction to get started? Particularly with the prior version detection and removal. I did search the forums before posting and I didn't really find anything helpful to my particular goals. Thanks in advance.

Sincerely,
Mike
Catalin
Posts: 7853
Joined: Wed Jun 13, 2018 7:49 am

Re: Advanced Installer Newbie - Office 365

Hello and welcome to our forums,

Unfortunately, I am not an experienced Office user, so it is a bit hard for me to help you with the uninstall process of the two versions (2010 and 2016).

However, after some research I've done, I have came across the following Microsoft article:

https://gallery.technet.microsoft.com/o ... d-05718730

There you can find a script which is said to uninstall all versions of Office present on a machine. First of all, I suggest that you manually test that script on a clean Virtual Machine to see if it works as intended.

Also, for the sake of simplicity, I would suggest to modify the script so it will only fit your needs (to only detect and remove the 2010 & 2016 version of Office). This way, the script will execute much quicker. However, if you are not an experienced PowerShell user, I would suggest letting the script as it is.

After testing it, you can add it in your Advanced Installer project as a "Custom Action". For example, you can add it as a "Run Inline PowerShell Script" or as a "Run PowerShell Script From File".

Hope this helps.

All the best,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Building Installers”