Application install, uninstall and re-install using Windows Custom Settings

I've been able to install an MSI based application using a Windows "Custom Setting" and then uninstall it by deleting the setting. (using these steps https://support.google.com/a/answer/10065085?hl=en)

If I install the application using Google, but then manually uninstall the application on the Windows PC, re-syncing with Google doesn't push it out again, but just generates an error:

Sam2000_0-1707715024303.png

To get it to re-install, I had to delete the custom settings, sync, re-create the custom setting and sync again.

Is there an easier way to get the Google Workspace Windows Custom Setting to re-install a messing app?

0 7 815
7 REPLIES 7

I tested a number of scenarios to redeploy the application, without just deleting and re-adding the custom setting (as that would uninstall and re-install the software for all users in the current OU).

This seems to work, but is a few hoops to jump through, if anyone has any better options?

01. Account in OU that installs software
02. User manually uninstalls software
03. Move user to new OU with a custom setting to install software
04. Sync (re-installs software)
05. Delete the custom setting to set it an uninstall state
06. Sync (uninstalls software)
07. Move user to original OU
08. Sync (re-installs software)

Hey Sam, can you please help me to configure some specific applications with Windows MDM

I'm not sure what help you need? I can try. I just followed the steps in the article I linked, so if it's outside that I don't know how much help I will be.

Hello Sam,
I tried to download apps using the steps in https://support.google.com/a/answer/10065085?hl=en but it didn't work, can you help me if you have changed something because I did exactly same as in the steps.
Thanks in advance.

I'm not sure what help you need? I can try. What errors did you get?

Can I have a sample of the xml file you have created because I am not sure what is the problem that makes these steps in the link doesn't work for me

I literally used the one from the knowledge base article, but inserted the link and hash for the program I was installing.

<MsiInstallJob id="">
  <Product Version="1.0.0">
    <Download>
      <ContentURLList>
        <ContentURL>MSI-URL</ContentURL>
      </ContentURLList>
    </Download>
    <Enforcement>
      <CommandLine>/quiet</CommandLine>
      <TimeOut>5</TimeOut>
      <RetryCount>3</RetryCount>
      <RetryInterval>5</RetryInterval>
    </Enforcement>
    <Validation>
      <FileHash>FileHash</FileHash>
    </Validation>
  </Product>
</MsiInstallJob>

 

 

Top Labels in this Space
Top Solution Authors