Important Notice: On February 29th, this community was put into read-only mode. All existing posts will remain but customers are unable to add new posts or comment on existing. Please feel to join our Community Discord for any questions and discussions.

Nested package timeout

Hi everyone,

I've created a package that does the following:

  1. Uninstalls Chrome
  2. Copies the users bookmarks file to a safe location
  3. Deletes all the users local Chrome folders (appdata/local etc.)
  4. Installs Chrome
  5. Opens Chrome (this is my problem step but is required to get the users local Chrome folders to appear again)
  6. Copies the bookmarks back into the local Chrome folders

On step 5 it never seems to end, this step is run as the logged on user because I need it to create the local Chrome folders for the logged on user. If you don't run Chrome these folders are not created. If I run step 5 by itself I can set a 1 minute timeout and then it stops and kills the Chrome window but if I run it nested then the timeout for that step never happens even though the step is a package with a 1 minute timeout. It actually shows "Open Chrome Run As Deploy User then step 5.1 Only run if user is logged on" This isn't the settings I have for this.

Is this because the timeout only works on the master package that runs the smaller packages? I'm going to have to do some funky timing work to get this to happen if that's the case.

For those curious (I would be) Chrome is confilicting with another piece of software and the only way to sort it appears to be to remove, delete local user folders (users\*\appdata\local\google\chrome) then install Chrome again. I just don't fancy 100's of angry staff shouting at me when the lose all their bookmarks so wanted to find a way to keep them beyond explaining to them all how to export manually or setup Chrome sync.

0

Comments

0 comments