Replace file in msi using orca




















According to your description, you want to replace files inside MSI without using compiler. It is a common way to recognize those who have helped you, and makes it easier for other visitors to find the resolution later. It is easy to change property of the file using Orca but how to replace a file with a updated version? Any idea? The content you requested has been removed. Ask a question. You will need Microsoft. Run through the installer, and on the Installation Options page, uncheck everything except the Windows Development Tools it will automatically install the subcomponents too.

Run the installer and choose the Complete option. Orca should now be installed and accessible from both the Start menu and the right-click menu for MSI files. This will open the MSI package in Orca for editing.

For this guide, we are going to edit the MSI package to achieve the following:. Before you start editing the MSI file, you need to create a transform to apply during the installation. Per best practice guidelines, you should never edit an MSI package directly. Instead, generate a transform that will apply the customizations to avoid a broken installation. A " " will appear next to the name of the MSI package in the window title bar to show it has generated a transform.

Looking at the Tables navigation pane, you will notice there are several options. CheckBox controls the settings checked by default when running the installer both attended and unattended.

Directory controls the settings that define all the directories the installer uses. Launch Condition controls the conditions or prerequisites needed before the installer can run. Property controls application options during and after installation.

Application vendors will often publish guides that list supported properties you can modify through the command line. Shortcut controls where the installation creates shortcuts.

Navigate to the Tables column and select the CheckBox table. While still in the Tables column, select the Directory table. You will notice there are quite a few directories. Fortunately, you don't need to worry about any of them as you will be creating your own. Directory refers to the name of the directory row you added; you will use this later when customizing shortcuts.

DefaultDir refers to the actual name of the directory you would like to create, which in this case is Cisco WebEx Utilities. While still in the Tables column, select the Property table. Set the properties listed below to the following values:. By setting these values, you are suppressing any first-run EULAs, disabling the application from checking for updates after installing, and preventing the application from telling Windows it needs to restart.

Finally, while still in the Tables column, select the Shortcut table. Right-click the two rows that have DesktopFolder as the directory and select the Drop Row option. This will prevent the installation from generating desktop shortcuts. For the remaining two rows, replace the newfolder1 directory with WebExStartMenu the name of directory we added earlier. With all the customizations specified, it is time to save the transform file. Now it is time to install the application using the generated transform.

Open a command prompt as an administrator and cd to the directory where your MSI and transform are located. Enter the following command:. Posted by: jamsek19 14 years ago. Hello all. Thanks for replays. This is not as I want. Usually I have a build process which makes a. At the moment I have a customer, which wants to update just some files after resolved bugs [; ].

Patch is not an option, I need just one file. Also new version of. So, I thing that it can be nice if I can replace just those updated binaries in an already created.

Is this possible? Hi Andreo, my suggestion does exactly what you want. You can even automate it with a few lines of batch. The scenario on the link i gave above is about applying a service pack. You just have to omit the SP applying task and copy your new file to the right folder. But is a weird UX. Just wanted to add on that you need to save the. I thought there was an output file I was missing after making the updated. Also thanks for the edit! Ivan Milosavljevic Ivan Milosavljevic 1 1 gold badge 7 7 silver badges 18 18 bronze badges.

Sign up or log in Sign up using Google. Sign up using Facebook. Sign up using Email and Password. Post as a guest Name. Email Required, but never shown. The Overflow Blog. Podcast Making Agile work for data science. Stack Gives Back Featured on Meta. New post summary designs on greatest hits now, everywhere else eventually.

Linked



0コメント

  • 1000 / 1000