Page 1 of 1

Custom Actions Crash / Uninstaller?

Posted: Sun Oct 27, 2019 8:05 pm
by DFIR-CLE
To help you better we need some information from you.

Product, version and build: latest
32 or 64 bit version of product: 64
Operating system: win10
32 or 64 bit OS: 64

Hello - I just got my MSI file packaged with my staging folder and an extra ps1 script which creates my desktop shortcut. All is working well with the installation process now, but I am not able to add in another custom action below my current action named "desktop icon" (attached). Which means that upon installation, I am able to get the desktop shortcut created, but I am not able to create the action to remove it upon uninstall. Anytime I click to create a new action, my window sits for a split second then crashes. Is this something I am doing or possibly a bug?

Assuming this issue gets resolved, in an ideal situation, I would be able to create my desktop shortcut upon install and remove it with uninstall.As part of the second phase (uninstall), I would like to have an uninstall file created via the MSI, is this possible? I can't seem to find an documentation on this.

Thanks in advance!

DO NOT POST SUBSCRIPTIONS, KEYS OR ANY OTHER LICENSING INFORMATION IN THIS FORUM

Re: Custom Actions Crash / Uninstaller?

Posted: Mon Oct 28, 2019 5:25 am
by mxtrinidad
We'll be investigating the issue you're experiencing and get back to you.

Thanks

Re: Custom Actions Crash / Uninstaller?

Posted: Mon Oct 28, 2019 1:35 pm
by brittneyr
There is a bug when adding custom actions to an installer with SAPIEN Script Packager and our development team is working on a fix. This should be resolved in the next release (5.6.169) of PowerShell Studio which will be released soon.

Re: Custom Actions Crash / Uninstaller?

Posted: Tue Oct 29, 2019 7:50 am
by brittneyr
Please try the latest build of PowerShell Studio (5.6.169) and let me know if the behavior persists.

Re: Custom Actions Crash / Uninstaller?

Posted: Wed Oct 30, 2019 4:52 pm
by DFIR-CLE
Will do! Thanks for the reply!

For the second part of my question - Is there a way to create an uninstaller file for my MSI to avoid an end user having to manually uninstall? I'll go update now because that question hinges on the ability to create the second custom action. Stay tuned on my end.

Re: Custom Actions Crash / Uninstaller?

Posted: Wed Oct 30, 2019 6:16 pm
by DFIR-CLE
Success! The update fixed the custom action crash bug. I was able to get my desktop shortcut installed and now it is able to be removed upon uninstall as well. Only thing left is to create an Uninstaller.msi file (if that's possible). Thanks for the update re latest version by the way, that was a really quick turnaround!

Re: Custom Actions Crash / Uninstaller?

Posted: Mon Nov 11, 2019 10:51 am
by Alexander Riedel
To quietly uninstall any MSI use
msiexec.exe /x "C:\Example.msi" /qn