Anonymous_User Absent Member.
Absent Member.
486 views

Make an app not show in the launcher unless

I am having an issue trying to make an app not show in the launcher unless
the previous version is not present. ZCM11.3.2ftf1. The scenario is I am
pushing out an upgrade of an app via MSI. the upgrade requires that the
previous version be uninstalled first. No problem there. I want the new
version to only display in the app launcher if the old version is not
present. My method for doing this was to add a requirements line that uses
file version. so I have " [file version] [C:\Program Files (x86)\Kurzweil
Educational Systems\Kurzweil 3000\kurzweil 3000.exe] [11.0.3156.35311] no
matter what variable I use <>, <=, < the app shows up. the version I have
here is the version of the exe of the older app. In the zen 7 days I would
have an extra setting with this which was a yes or no to display the app. So
say display app if this file version exits "yes". Or display this app if
this file version exists "no". But this does not seem to be an option in ZCM
that I can find. any suggestions would be appreciated. thanks.

Labels (2)
0 Likes
4 Replies
Micro Focus Expert
Micro Focus Expert

Re: Make an app not show in the launcher unless

Under the "Requirements" Tab for a bundle, there will be a Checkbox for "Show Application Icon if System Requirements fail".

Also make sure you are defining "Bundle" system requirements.
If you are defining "Action Level" System Requirements, that will only control the action and not the entire bundle.

You may want to configure the new bundle to actually remove the old bundle in one action and then install the new bundle with the 2nd action.
This would remove the need for this all together.
0 Likes
Anonymous_User Absent Member.
Absent Member.

Re: Make an app not show in the launcher unless

Craig
thanks for the quick response. I checked off the "Show Application Icon if
System Requirements fail". and the icon went gray and would not install as
expected. To clarify I am not using the requirements tab within the actions
bundle itself. but the requirements tab next to the relationships tab. I
believe this to be the "Bundle Requirements" tab. So to further test I
removed the old version and rebooted expecting now for the installer to go
blue and be installable. it is not. What I am really trying to do is a
simple file version exists don't appear. File version does not exist do
appear. Is there a simple way to do this? thanks again.

"CRAIGDWILSON" wrote in message
news:CRAIGDWILSON.76ifmo@no-mx.forums.microfocus.com...


Under the "Requirements" Tab for a bundle, there will be a Checkbox for
"Show Application Icon if System Requirements fail".

Also make sure you are defining "Bundle" system requirements.
If you are defining "Action Level" System Requirements, that will only
control the action and not the entire bundle.

You may want to configure the new bundle to actually remove the old
bundle in one action and then install the new bundle with the 2nd
action.
This would remove the need for this all together.


--
--
Any Opinions, Thoughts, Solutions, or Blog Entries are my own and may or
may not be shared by Novell or any Sane Person
Please Use at your Own Risk.

Blog - https://forums.novell.com/blog.php/5830-CRAIGDWILSON

https://ideas.microfocus.com/mfi/novell-zcm
------------------------------------------------------------------------
CRAIGDWILSON's Profile: https://forums.novell.com/member.php?userid=5830
View this thread: https://forums.novell.com/showthread.php?t=495251

0 Likes
Micro Focus Expert
Micro Focus Expert

Re: Make an app not show in the launcher unless

I have not played with this for a while, but you may need multiple tests........

File Does not Exist
or
File Version is Less than

I have not played with this in a while, but at one point I believe it acted a little different than ZDM in this fashion.
0 Likes
Anonymous_User Absent Member.
Absent Member.

Re: Make an app not show in the launcher unless

I actually made it real simple and was just using file exists version =<
xxx.xxx.xxx and for whatever reason I can't seem to get it to work. I did
also try < and <>. I don't understand the logic because I am missing what I
think to be a crucial question which is yes or no. file version exists then
NO or file exists then YES. aarrrggggg 🙂 I think I'll go the route of if
file exists no and run once per device to keep it from installing again by
accident. Thanks.

"CRAIGDWILSON" wrote in message
news:CRAIGDWILSON.76islc@no-mx.forums.microfocus.com...


I have not played with this for a while, but you may need multiple
tests........

File Does not Exist
or
File Version is Less than

I have not played with this in a while, but at one point I believe it
acted a little different than ZDM in this fashion.


--
--
Any Opinions, Thoughts, Solutions, or Blog Entries are my own and may or
may not be shared by Novell or any Sane Person
Please Use at your Own Risk.

Blog - https://forums.novell.com/blog.php/5830-CRAIGDWILSON

https://ideas.microfocus.com/mfi/novell-zcm
------------------------------------------------------------------------
CRAIGDWILSON's Profile: https://forums.novell.com/member.php?userid=5830
View this thread: https://forums.novell.com/showthread.php?t=495251

0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.