I am using "rpm -qa --qf" to retrieve list of installed applications/packages on AIX with corresponding versions. However, I would also need the corresponding user/owner for each of these applications.
Can anyone please confirm how this can be obtained using rpm OR any other utility available in AIX?
Thanks in advance.
By default, RPM packages are not installed per user, they are installed system wide. So username does not vary per package.
You could use the --dbpath option to RPM, giving it a user's home directory and having it track packages installed relative to just that user (~//bin, etc), but this would be completely independent from the master package database.
Related
I am trying to install DB2 ibm data server client(version 11.1), silent install in my windows server. i am using response file for the installation. I gave the path in response file to install in D drive, but still it is installing in C drive only. the command i was using is: msiexec /i "MSI path" /q /l*v "log file path" RSP_FILE_PATH="response file path".
Check the following:
Installing Db2 products and features using a response
Some notes on MSI customization in general below.
And a link to the most commonly used library of packaging tips contributed by packagers:
https://www.itninja.com/software-library/company/ibm
Different Designs: The exact mechanism used to redirect a folder like that depends on the design of the application and the setup from the vendor, they often do something very non-standard so reverse engineering their solution fully or slightly is usually neccessary.
Itninja.com: Maybe have a look if you can find the software here in the itninja.com "software tips" section: https://www.itninja.com/software-library/company/ibm - this is a collection of comments people have made who have packaged and deployed the software in question - either unsuccessfully or successfully. I can't really tell what the exact product name is, please check.
Download: If you have a download link that is publicly accessible I can have a quick look at the MSI to determine how it is set up. Please be aware that it is much better to install an MSI directly via normal configuration mechanisms (setting public properties and / or creating a transform - sample here) than to run a setup.exe with response file (which sometimes is the only possibility depending on the overall deployment design).
How to make better use of MSI files
A couple of quick overviews:
How to parameterize msi file from electron builder
MSI Repackaging - free tool
And some further links for reference:
Change the value of a MSI property loaded from a DLL using a MSI transform
How to run an installation in /silent mode with adjusted settings
I am learning C and I want to install MinGW on my laptop. The MinGW installer is a web-installer, it requires the computer to have access to the internet when installing. But the problem is that my computer's not connected to the internet. So it can't be installed.
So I am thinking of downloading the complete offline installer on my smart-phone and transfering it to my PC through blue-tooth.
I have already tried TDM-GCC, but even that requires me to download somthing.
So is there an offline installer to MinGW? If yes where can I get it?
I did not find an offline installer for MinGW,but instead I found a better Windows port; which is MinGW-W64
From http://mingw-w64.yaxm.org/doku.php:
Mingw-w64 is an advancement of the original mingw.org project, created to support the GCC compiler on Windows systems. It has forked it in 2007 in order to provide support for 64 bits and new APIs. It has since then gained widespread use and distribution.
Now to answer this question: it has to be mannually installed by downloading the zip file. It won't require additional download.
You can download it from link : https://github.com/jonasstrandstedt/MinGW
You need to extract the MinGW folder in C:\ eg: c:\MinGW . Then what you need to follow the steps given in the link above. In CodeBlock IDE go to settings>compiler>Tochain Executables. There you need to click on auto detect or specify the folder manually.
The most direct answer to the question "Is there an offline MinGW installer?" is "maybe, but it would be a snapshot from the past, and it's almost certainly not up-to-date with the latest available released versions." The individual packages are made available (almost) as soon as they're released, so capturing everything in a self-contained installer is a moving target.
But, you can use the standard installer offline with a bit of prep work if you use MSYS2's pacman, which manages dependencies and grabs all the right versions for you.
The details are given in an answer to another question (https://stackoverflow.com/a/46791235/).
I am trying to install SAP Mobile Platform SMP 3.0 and i got the following error
i searched and found out that the cause could be my 32-bit running windows. is is the reason ? and how can i solve it using a workaround or something ?
Have you gone through the Sybase documentation on SMP3.0 SDK?
http://infocenter.sybase.com/help/index.jsp?topic=/com.sybase.infocenter.dc01996.0301/doc/html/title.html
There are some restrictions on installing SMP components for 32-bit systems. Check the Product Availability Matrix on 'Mobile' (SAP S-number required) : https://websmp205.sap-ag.de/sap/support/pam
According to official SMP 3.0 installation link,
If User Account Control (UAC) is present in the version of Windows
where you are installing, disable it. Restart the system for this
change to take effect. Access the Control Panel option that manages
User Account Control on your version of Windows. Set the user account
to never be notified about changes to your computer. Reenable UAC
after completing this installation.
So try disabling the UAC before installation (assuming you are logged in as administrator for this installation)
For Linux packages, specifically RPMs with stored checksums, we always can check two things: the contents of package is ok and the installation from this package is ok. When someone modifies parts of the installation he shouldn't, we can see it by running rpm -Vp my-precious-package. In our busyness it is not only recommended, but obligatory to provide our packages with tools for this purpose and for Linux these are just simple bash scripts.
Now I have to do something similar for Windows. Basically what I want is to provide some batch file by running which one can get assured, the installation is the same as it meant to be in the package. I'm using InstallShield for packaging, and yet it has some great visual tools, I still haven't found a way to verify package checksums in the command line.
Is it even possible, or should I reinvent the wheel writing my own checking utils?
Take a look at MakeCat and SignTool from Microsoft, both in SDK
http://msdn.microsoft.com/en-us/library/windows/desktop/aa386967%28v=vs.85%29.aspx
http://msdn.microsoft.com/en-us/library/windows/desktop/aa387764%28v=vs.85%29.aspx
Windows Installer has a feature called resiliency that supports auto repair of products and there are ways to call it for self checks only. (This is assuming by InstallShield you mean Windows Installer based projects.)
Here's a couple links to read to get you started:
INFO: Description of Resiliency in Windows Installer
Resiliency
Application Resiliency: Unlock the Hidden Features of Windows Installer
MsiProvideComponent function (See dwInstallMode flags)
This also assumes all files are key files. Companion files are not managed by the installer. Also changes performed by custom actions outside of the installer aren't managed.
i have MYOB installed on one computer and that system crush due to virus, i got all myob data and program files.
problem is i don't have installer for MYOB, i lost it.
i copy all the myob folder to c:\program files\myob
and try to run myob, its giving MYOB ERROR 9004
after i search on net i found that i need to create these registry entries which i did
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\Software\MYOB Technology]
[HKEY_LOCAL_MACHINE\Software\MYOB Technology\AU]
[HKEY_LOCAL_MACHINE\Software\MYOB Technology\AU\MSC]
[HKEY_LOCAL_MACHINE\Software\MYOB Technology\AU\MSC\3.0]
"JavaHome"="C:\\Program Files\\MYOB\\Common\\JRE"
now program run and after getting user name & password it give error initialization error.
does any one have idea how to run myob on system without installing it.
Thanks
are you copying all folders, this error seems that you are missing some files/ folders.
check all the folders and files.
Make sure you also copy and paste over the MYOB file in your Program files, as well as the MYOBVersion as this is where the licence is!
The best answer will depend on which product and version you have installed and for the most accurate detail you're best reaching out to support directly.
For products like AccountRight Live you can easily re-install the software on the new computer. You can get fresh copies of the installers from the product downloads section of your my.myob.com login.
Individual company files (.myox for AccountRight Live) can be copied to the new computer and then opened (in much the same way you would install Microsoft Word and then open a Word .docx document) noting that each file is linked to the serial number.
And lastly on a note of personal advice: run a patched anti-virus on the new machine :)