How to Execute scripts while uninstall MSI Package using po?

Use this forum to ask questions after your subscription maintenance expires or before you buy. Need information on licensing or pricing? Questions about a trial version? This is the right place for you. No scripting questions, please.
Forum rules
DO NOT POST SUBSCRIPTION NUMBERS, LICENSE KEYS OR ANY OTHER LICENSING INFORMATION IN THIS FORUM.
Only the original author and our tech personnel can reply to a topic that is created in this forum. If you find a topic that relates to an issue you are having, please create a new topic and reference the other in your post.
This topic is 8 years and 8 months old and has exceeded the time allowed for comments. Please begin a new topic or use the search feature to find a similar but newer topic.
User avatar
ahmedawad
Posts: 2
Last visit: Wed Aug 05, 2015 9:22 am

How to Execute scripts while uninstall MSI Package using po?

Post by ahmedawad »

I Created Package using PowerShell Studio, But i don't know how can i do the following:

1- Uninstall service when uninstall the package that created by Powershell Studio [Is there an event fire that i can use or something else?].

2- Remove or update registry keys when uninstall

3- create shortcut for the package on the start menu and desktop

4- Add prerequest to be installed or downloaded before installing the Package
User avatar
SAPIEN Support Forums
Posts: 945
Last visit: Thu Oct 22, 2015 1:10 pm

How to Execute scripts while uninstall MSI Package using po?

Post by SAPIEN Support Forums »

This is an automated post. A real person will respond soon.

Thank you for posting, ahmedawad.

Did you remember to include the following?
  • 1. Product, version and build (e.g. Product: PrimalScript 2014, Version & Build: 7.0.46. Version and build information can be found in the product's About box accessed by clicking the blue icon with the 'i' in the upper right hand corner of the ribbon.)
    2. Specify if you are running a 32 or 64 bit version
    3. Specify your operating system and if it is 32 or 64 bit.
    4. Attach a screenshot if your issue can be seen on the screen
    5. Attach a zip file if you have multiple files (crash reports, log entries, etc.) related to your issue.
If not, please take a moment to edit your original post or reply to this one.

*** Make sure you do not post any licensing information ***
User avatar
davidc
Posts: 5913
Last visit: Mon Jul 08, 2019 8:55 am
Been upvoted: 2 times

Re: How to Execute scripts while uninstall MSI Package using

Post by davidc »

The MSI created by PowerShell Studio only handles basic installation files.

You can select the file for the shortcuts in the File / Folder tab of the MSI Settings:
Create Shortcut to.png
Create Shortcut to.png (36.29 KiB) Viewed 2616 times

We have a series of blog article covering the Deployment. Here is the article pertaining to the MSI creator:

https://www.sapien.com/blog/2014/04/07/from-script-to-server-deploying-solutions-with-primalscript-2014-part-2/

If you want to create a MSI with more features, I would recommend looking at the Advanced Installer product:

http://www.advancedinstaller.com/

They offer a free version.

David
David
SAPIEN Technologies, Inc.
This topic is 8 years and 8 months old and has exceeded the time allowed for comments. Please begin a new topic or use the search feature to find a similar but newer topic.