Jump to content


P3nnyw1se

Is it possible to make an uninstall dependency?

Recommended Posts

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?

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

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...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...


×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.