narramadan
Posts: 15
Joined: Thu Jul 24, 2008 2:59 pm

Help getting folder location for the installed application

Hi,

Here are the steps I want to accomplish.

1. Prepare an installer and install the product and registers onto clients machine.
2. Prepare an another installer which need to search where the product has been installed previously, and put a file in one of the folder in the installed location. Running this installer should not register the installation details anywhere in the system.

The first one is accomplished.

The second step is more over like patches/upgrades, but we don't want to use them as the installed application deletes some of the files that were installed after its startup or execution. So I should not be resending those files and this cant be achieved via patches.
To accomplish this step, I need to identify where the Product Installation is done, and extract the contents in the second installer to the installed directory. This can be assumed as plain unzip to a directory, where in the directory need to be known by the installer.

Can this be achieved ?

Thanks,
Madan Narra
Bogdan
Posts: 2794
Joined: Tue Jul 07, 2009 7:34 am
Contact: Website

Re: Help getting folder location for the installed application

Hi Madan Narra,

Here is what you can try:
-- you will need to go to Search page and create a search for your folder like this:
--- first you will create a "New Search"
--- then, under this search select "Add Location -> Folder" and set the folder you are searching for

Now go to Install Parameters page and set the Application Folder edit box to:

Code: Select all

MY_FOLDER_SEARCH
Where "MY_FOLDER_SEARCH" is the name of the search that you have just created.

Now you can go to Files and Folders page and add in the folder Application Folder the desired files.

In order for the package to not register you need to go to Product Details page and uncheck the option "Register product with Windows Installer".

Regards,
Bogdan
Bogdan Mitrache - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”