Find the APP_PATH of existing msi install - Advanced Installer Community

We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

anupmistry
Posts: 52
Joined: Tue Jan 12, 2010 6:39 pm

Find the APP_PATH of existing msi install

Have an existing application that is already installed on users PC. My aim is to create a patch installer to over-lay only 3-4 files and install & start a windows service. The patch I want to deploy using the Advanced installer enterprise edition project. The existing application is deployed using regular Windows Deployment and Setup project created in VS2008/.NET SP2.0. Questions are 1) How to find the product-code of the existing app and 2) How to tell the patch the APP_PATH (application folder path) is going to be. I do not want our users to pick the path .. thinking this would be stored somewhere inside windows and can get that path and advanced installer project created patch can pick it up automatically. Thx.
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: Find the APP_PATH of existing msi install

Hi,
How to find the product-code of the existing app
You can try opening the original MSI with Orca and check the ProductCode property from the "Property" table.
How to tell the patch the APP_PATH (application folder path) is going to be
If the patch is created correctly, the installation path is detected automatically by Windows Installer. To correctly generate the patch you need to obtain the updated package by modifying the original one. You can try this approach:
- import the original MSI in Advanced Installer
- make sure that all GUIDs are the same as in the original package (ProductCode, UpgradeCode, component GUIDs etc.)
- modify the installer the way you need
- increase the Product Version without changing the ProductCode
- build the project to obtain the upgraded package
- try to use this package and the original to generate a patch

Since you are making a transition from a setup authoring tool to another, we recommend using a major upgrade instead of a patch.

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”