Skip to content

Is it possible to make an uninstall dependency?

Featured Replies

I'm facing an issue where I wanna install a piece of software on 150 computers.
a 30mb msi file.

the problem is an early version of this software is already installed.
I attempted to push it as an 'update' to see if it just installed on top of the old program, but it doesn't..

So at first I thought I would

1: Push an uninstall of the old version
2: Wait untill the old one was uninstalled
3: Then push an install of the new version

Here is the thing, the software is used everyday.. I can't just wait untill everybody has it uninstalled and then push the new version..
they need the new version right away once the old is gone.

So I was hoping that I could create a dependency, like
'before installing version 2... uninstall version 1'
that doesn't seem to be the case though.

how would you handle this? would you run a script?

Just create a new application for the old Version, without sources and a dummy entry for the install command, fill the uninstall command with "msixec /x {productcode} /norestart /q", where the productcode belongs to the MSI of the old program. After that just create a supersedence in your new application.

  • Author

Got it all wrong, attempting now what you actually wrote

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.