InstallJammer project update or uninstall - installation

I have a problem with my installJammer project. Currently am creating a setup for a java application.
I need to create an action that is invoked when the user selects to upgrade to the new version. To be more clear, a window with two radio buttons (Update and Upgrade) appear if a previous version exists.
When the user clicks upgrade, the existing version is to be upgraded with the existing. How can I do this?
Expecting any one's help as I need the solution ASAP.
Thanks in advance.

Dear friend,
In installjammer, An upgrade installer is one that skips some of the procedures of
a regular installer and adds its information to the uninstall of the previously-installed
application. you can upgrade your project by using upgrade application ID can be accessed by using the <%UpgradeApplicationID%> virtual text.

By setting the <%UpgradeApplicationID%> you can update your exciting project with current. for the suitable effect,you should set an upgrade application pan in installjammer.after that,set the actions that is - check for previous install,get previous install info.then you should set a virtual text action for perfect upgradation.in virtual test action, check the advance properties,mark the auto update as "Yes",then fill the virtual text as <%UpgradeApplicationID%>. after that furnish the message box,exit etc.as your requirement wishes. hop you will get this. if any more confusions, please refer installjammer user guide by downloading the following link - www.installjammer.com/docs/InstallJammerUserGuide.pdf

Related

BaseApplicationCustomizer throws errors

So today I was updating one of our SPFX extensions to use the latest spfx framework (1.16) with node (16.13) and after finishing my updates I got the following inside my code:
I am not exactly sure why these are not coming in, I suspect the newest version of spfx moves these classes out of sp-application-base, but why? and where is the documentation for it? Because there is this link that is only 6 months old and explains to use this code for the top and bottom headers.
I was expecting this code to remain in sp-application-base, but it appears it isn't in that package.
How did you perform the upgrade? I highly recommend using the Microsoft 365 CLI to upgrade projects, as the developers of that app do thier best to cover every part of the project that needs to change. Learn more at https://pnp.github.io/cli-microsoft365/cmd/spfx/project/project-upgrade/
Here are the commands to run from the root of your project
npm install -g #pnp/cli-microsoft365
m365 spfx project upgrade --output text
This will give a list of npm commands and code update instructions to follow. See the above documentation for other options for output and use whatever works best for you.
It is still there. What version of #microsoft/sp-application-base is in your project? Should be 1.16.1 I believe. I will say that I am new to all of this as well, but I am using the latest framework and VS is not flagging any issues with these.

Pivot4J not showing int Pentaho Business Analytics - Community Edition

I am taking a course on Coursera and we have been asked to use the community version of Pentaho Business Analytics (PBA).
I have download the latest PBA server and plugin for Pivot4J, however, when I launch the web interface and click on new, I do not see the Create Pivot4J View as shown in most demos.
I have launched the interface on 2 systems with Windows 8.1 Pro and Windows 10 Pro OS running on them.
Can someone help me out please as the deadline for me to turn in my work is in 3 days?
Thank you.
Please see screenshot below of what I have tried to explain above.
http://localhost:8080 Home Page
Try with 0.9 version from pivot4j site and maybe Pentaho 6 version is note yet supported so try 5.4 ba server.
You should download and unzip Pivot4J plugin into: ./pentaho-solutions/system folder in the BIserver, follow:
this link
or if this still does not show the pivot4j option you can install it through the Marketplace, there you can install/unistall pluggins, including pivot4j.
After you install or update stop and start the server and it will work.
When you unzip the file pivot4j-pentaho-0.9-plugin.zip it will create a folder called pivot4j. Don't move the contents in the folder move the entire folder to:
C:\program files\pentaho\biserver-ce\pentaho-solutions\system\pivot4j\
This is will work if you are not seeing the plugin in the drop down in Pentaho.
Granted everything else was done correctly.

Enabling auto-updates in RubyMine

Is there a way to enable autoupdating in RubyMine? According to this page, you can
Use this page [i.e. "File | Settings | Appearance and Behavior | System Settings | Updates"] to:
Enable automatic update of RubyMine and specify to which kind of release you want it updated.
However, when I actually look at that menu, all I see is this:
Further searching yields no results. Since the page is labelled as "RubyMine 7.1.0 Help", I'd assume that it's up-to-date for 7.1.2, so how can I enable autoupdates? Did they simply forget to update this little chunk of the help documentation?
All of my Google searches turned up absolutely nothing - all the results are about autocompletion or updates in general (i.e. the page I linked at the top) or updating manually or something entirely unrelated in a different IDE or... this question. Huh. Hi, Google!
Note: Yes, it is possible to manually update it from this menu, by clicking Check Now. I'm explicitly not looking for that. I want RubyMine to search for updates and install them on its own, preferably when it starts.
TL;DR version: RubyMine can and will check for updates very regularly, if you select the type of update you'd like.
As far as I know, it will not install it, without asking, but it will automatically check for an update upon starting the app.
Longer version:
First of all 7.1.2 is the most current version of RubyMine, so I wouldn't expect RubyMine to update.
As far as I understand the RubyMine versioning "New Major Releases" means a change in the first number of a version. With that setting you'd get an update information for version 8. If you prefer to get updates more frequently, try one of the other option the Update-Settings provide (see screenshot)
On my machine 7.1.2 installed upon starting RubyMine (but after asking whether I wanted the update to happen). So, it didn't autoinstall without asking for permission.
Currently, Rubymine is in version 2016.1.1b and full transparent auto-update isn't still implemented as far I could see in my Linux (Ubuntu-based distro).
Here, the auto-update is more a auto-detect updates feature, who will ask me to accept the update and let it installs and restart automatically.
Which isn't currently a straightforward method also, because I installed it on /opt and to have right permission to update and it notifies me, I have to call manually rubymine.sh as root and then accept the update - sudo mine won't work.

Program updating does not works properly

I have a program which has several versions. In the last version I have a problem: when I'm trying to update previous version to new one, the installer of new version removes files from previous version, but don't installs new files.
Just installing works fine, but updating process has this problem.
What can be the reason of this problem ?
Upade: I'll try to describe more detail
I have VS project where I have a project of program and an installer of this project. Till present all were working fine, but after my last big update ,the installer start work incorrectly.
And another question:
How I can debug installation process ?
I dont know which program you have. Generally programs have problems because of multible versions, because programmers arrange this. For example ;
Lets consider Microsoft Framework. If you have 4.5 you cannot install 4.0, so that with similar idea you cannot update it.
Try to delete other versions and update them and install others. Or you can also stop services which you dont want to update.Then other one will be updated without any problem.

Detemining newer version of executable in Wix

We have a software that has couple of executables inside. One of the executables is Windows service, and it doesn't change that often, usually we release many updates to the main executable, but the service version is same inside installer.
When service is installed first time or upgraded with newer version, we need to run custom action. We managed to solve first install part, but we don't know how to determine that version we're installing now is newer than one that already exists. Sort of if(newver > oldver) run custom action.
Thank you in advance
- Jack
You can try using the upgrade rules of your package. More details here: How to implement WiX installer upgrade?
Rob Mensching (the second answer in the linked thread) shows an example for upgrade rules. You should first familiarize yourself with the Upgrade table and how upgrade rules work. There isn't an easy answer or a quick fix for this in WiX.
Basically, you should have 2 upgrade rules
the first sets a property when an older version is found
the second sets another property when a newer version is found
After that you can use the older versions property to condition your custom action. For example, if the property is named OLDERVERSIONFOUND the custom action condition can be:
OLDERVERSIONFOUND
or something like
OLDERVERSIONFOUND > "1.0.0"
Your best bet is to store the "service" version somewhere in the registry, search for that registry value during upgrade and run your CA if newver > oldver (and the CA should also update said registry value to newver)
Note that Custom Actions are (generally) an admission of failure. I always try to separate out the configuration portion of setup to a pre-install (for sysadmins doing deployment) or post-install (for interactive installations) step - often a separate executable.
Declarative installations with no custom actions are much more reliable - if you can figure out how to rewrite the service so that your custom action is no longer required, you'll be much better off in the long term (this doesn't help when you're under pressure to release now, but it's something to think of for future releases)

Resources