Installation Package

0 views
Skip to first unread message

Jarrell Campbell

unread,
Aug 3, 2024, 10:22:54 AM8/3/24
to simpburteloo

An installation package contains all of the information that the Windows Installer requires to install or uninstall an application or product and to run the setup user interface. Each installation package includes an .msi file, containing an installation database, a summary information stream, and data streams for various parts of the installation. The .msi file can also contain one or more transforms, internal source files, and external source files or cabinet files required by the installation.

Application developers must author an installation to use the installer. Because the installer organizes installations around the concept of components and features, and stores all information about the installation in a relational database, the process of authoring an installation package broadly entails the following steps:

The next section discusses installer components and features. For more information, see Components and Features. The choice of features is commonly determined by the application's functionality from the user's perspective.

Package authors can use third-party package creation tools, or a table editor and the Windows Installer SDK, to populate the installation database. All installation packages need to be validated for internal consistency. For more information, see Package Validation.

I keep getting this message on the target machine: "This installation package cannot be installed by the Windows Installer service. You must install a windows service pack that contains a newer version of the Windows Installer service."

I'm interested in distributing an application I've written in C++. What I want to end up with is basically the old method of distributing CDs and having an autorun file do most of the work; I want to be able to send files that non-tech-savvy people can use to compile/install my .cpp source code on their machines and end up with a functioning .exe file.

I'm looking into programs for creating installation packages, based on suggestions I've read here on similar matters. I've read some tutorials on NSIS in particular and I'm somewhat confused as to what precisely these programs actually do. The tutorials make it seem trivially easy to create packages to install .txt files on other machines, but that seems pointless; .txt documents don't need to be compiled to be read, and there's no particular reason they should require an installation package for distribution. Do NSIS and related programs simply automate copy and pasting? What I'm looking for is a program that can take my .cpp source code and compile/install it on other machines that may not already have a C++ compiler, and to do so as conveniently as possible in case the recipient isn't tech-savvy (preferably just by running some sort of setup.exe). Do NSIS and similar programs have this capability, or are they only good for sending someone my source code in its uncompiled format? Should I be looking elsewhere instead?

Additionally, can I do this in such a way that the recipient of the package will not be able to read the contents of my source code, like if the program I've written implements RSA encryption and I don't want users to know what block size or modulus I've chosen?

Packages normally contain the executable code, not the sources. You would compile your code for the target machine, then package it up, so that the user can install it. It is a bit more than copying and pasting, since ideally it would also make necessary changes to the system configuration, as well as record enough information to be able to remove the installed files later.

The last point is thus obvious: if you don't package up your source codes, people will not be able to read them. However, do not rely on "security by obscurity" - if someone has sufficient skill, they can disassemble or decompile your program.

Installers aren't always needed. Sometimes on Windows you'll see the term XCOPY install or XCOPY deployment. This refers to the XCOPY utility which can copy an entire directory structure. Many programs will run if you just copy the whole program directory to the appropriate Program Files directory.

Hi everyone!
I'm on a beginners course for data analysis, and currently installing packages. I had no problem with installing tidyverse and devtools, but wordbankr showed non-zero exit statuses on many of its sub-packages (reprex below). I have no idea what this code means, but i want to understand what happened. I know that the non-zero exit means the packages were not installed, and it can be due to unresolved dependencies. I've tried to understand what that means (something that is present in the repository but not deployment set?) but I'm not getting it.

Some text that does not show up when i call for the reprex report show the following errors ,either an error 127 that says compilation failed, or another citing unavailability of some dependencies for a certain package. Below is an example of this regarding RMySQL.

I guess you can install the packages separately. I am not sure what is going on. It seems like the separate Matrix installation used a binary package, why devtools is trying to compile packages from source, and you don't have Rtools 43 installed.

This topic was automatically closed 42 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.

I am trying to update an agent but it shows me "the installer has timed out" on the logs, I checked upgrades logs and I see the next message "Distribution ID is missing from installation package" I thought that it could be an issue related to agent installer but they exists on the console.

This issue happens mostly when a previous installation gets interrupted in the middle due to some BSOD/hard system reboot, causing MSI to fail to write the product info to its database. This is a corrupted MSI DB issue.

Thank you for your help!
The agent is already connected to the tenant, it doesn't disconnect. However, I followed your advice , I used reconnect force command and then I tried to upgrade but it didnt work, the error I mencioned above shown on the logs.

Due to the way most Linux distributions are handling the Python 3migration, Linux users using the system Python without creating a virtualenvironment first should replace the python command in this tutorialwith python3 and the python -m pip command with python3 -m pip --user. Do notrun any of the commands in this tutorial with sudo: if you get apermissions error, come back to the section on creating virtual environments,set one up, and then continue with the tutorial as written.

virtualenv needs to be installed separately, but supports Python 2.7+and Python 3.3+, and pip, Setuptools and wheel arealways installed into created virtual environments by default (regardless ofPython version).

Managing multiple virtual environments directly can become tedious, so thedependency management tutorial introduces ahigher level tool, Pipenv, that automatically manages a separatevirtual environment for each project and application that you work on.

The most common usage of pip is to install from the Python PackageIndex using a requirement specifier. Generally speaking, a requirement specifier iscomposed of a project name followed by an optional version specifier. A full description of the supported specifiers can befound in the Version specifier specification.Below are some examples.

On Windows you can find the user base binary directory by running py -msite --user-site and replacing site-packages with Scripts. Forexample, this could returnC:\Users\Username\AppData\Roaming\Python36\site-packages so you wouldneed to set your PATH to includeC:\Users\Username\AppData\Roaming\Python36\Scripts. You can set your userPATH permanently in the Control Panel. You may need to log out for thePATH changes to take effect.

To install from other data sources (for example Amazon S3 storage)you can create a helper application that presents the datain a format compliant with the simple repository API:,and use the --extra-index-url flag to direct pip to use that index.

We tried to install Intercept X on some client workstations and the error below is displayed:
"Installation failed. Failed to extract the installation package."
The user has an administrator profile.

so the logs you have provided no longer seem to refer to the extraction failure, is that correct? Because now you get a different error when trying to install product. In your provided logfiles I can see that there was a certificate problem during connection establishment.

This error messages can be caused by a TLS\SSL inspection, which seems to be still active. If you haven't installed the cert from the root CA on your device it could cause the "Couldn't connect to Sophos Central" error. Install it or define an exclusion for the device. If you are running a Sophos XG, please try to add an exception rule on the TLS\SSL inspection page. Sophos is in general recommending excluding Sophos related traffic from HTTPS decryption.

If you have checked that the device got the Root Certificate installed or is excluded in TLS\SSL Inspection, you can also check the validity of the certificate of the SophosSetup.exe. Maybe you're using an old installer, I don't know. You can find the valid date in the SophosSetup.exe properties > Digital Signatures > Details > View Certificate.

I'm programming a Qt app in Ubuntu. Well, I'm newbie in Linux but good at Qt. I wanna know how to Create Qt Static Libraries(Qt has installed from Synaptic), Create an installation package and How to put the app on the Applications Menu. Please Put some links for me.

As you presumably know, the installation of a Revit add-in is actually very simple; all it requires is placing the add-in manifest in a folder in which it will be detected and read by Revit.exe, and placing the add-in .NET assembly DLL somewhere in the file system that the add-in manifest con point to; in the simplest case, you place both of them together.

c80f0f1006
Reply all
Reply to author
Forward
0 new messages