Installer problems - 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!

bharathkumarreddy.s
Posts: 19
Joined: Wed Feb 24, 2010 10:34 am

Installer problems

i created 10 installers with some files and icons(desktop, control panel).
Up to this every thing ok, but the problem is when i install on different paths,it installed in all paths.
And also it shows multiple entries in control panel. How can i restrict to install only single instance for one system ,and also single entry in control panel.

Please send me solution................


thanks in advance..........
Bharath
Last edited by bharathkumarreddy.s on Tue Mar 02, 2010 10:45 am, edited 1 time in total.
GabrielBarbu
Posts: 2146
Joined: Thu Jul 09, 2009 11:24 am
Contact: Website

Re: Installer problems

Hello,

I am not sure what you are trying to do.
Could you give me more details?

Regards,
Gabriel
Gabriel Barbu
Advanced Installer Team
http://www.advancedinstaller.com/
bharathkumarreddy.s
Posts: 19
Joined: Wed Feb 24, 2010 10:34 am

Re: Installer problems

Thank you for quick reply,

I created 10 installer exes at different times with same files.
when i try to install using installer at some location "c:\program files\my-folder\my-folder\" it installs successfully.
Again try to install using the same installer exe it is asking for REPAIR,MODIFY,REMOVE its good.
Whenever i install using other installer(among 10 created) now it is installing again without showing REPAIR,MODIFY,REMOVE options in the same location and different location "c:\my-folder\ my-folder\". And also showing two entries in control panel -->Add or Remove Programs.
This is my problem.
I want the solution to if i try to install using other installer(not the previous ones), i want to show already installed or uninstall the previous one. how can i know is my software earlier installed in this system. One more thing there is no key created in the registry about my software.
What is problem with me while creating installer and how can i enable registry option.


Thank you,
Bharath.
GabrielBarbu
Posts: 2146
Joined: Thu Jul 09, 2009 11:24 am
Contact: Website

Re: Installer problems

Hello,

Please follow our tutorials to get you started with using Advanced Installer.
Also, you might want to follow our how-to on updates.

Best regards,
Gabriel
Gabriel Barbu
Advanced Installer Team
http://www.advancedinstaller.com/
bharathkumarreddy.s
Posts: 19
Joined: Wed Feb 24, 2010 10:34 am

Re: Installer problems

Hi,

I read ur tutorial ok.
In Prerequisites->Custom launch conditions-->New-->Condition(Browse..)-->
here Component State,Feature State,Component Action,Feature Action,folder options are disabled.
What is the problem? and how can i enable these buttons.
My requirements is if myproduct is already installed in the system with previous version or same version then need to show message already installed.
Please say steps to do that.
Don't say read tutorial,i already read result is above disabled buttons.

I am expecting the steps in the next reply from Your people.

Thanks in Advance,
Bharath
GabrielBarbu
Posts: 2146
Joined: Thu Jul 09, 2009 11:24 am
Contact: Website

Re: Installer problems

Hi Bharath,

The controls you are referring to are disabled since they are not available so early in the install sequence.
My requirements is if myproduct is already installed in the system with previous version or same version then need to show message already installed.
You can use the [OLDPRODUCTS] property in your Custom Launch Condition. This property contains the Product Codes of previous versions.
You can simply place

Code: Select all

OLDPRODUCTS
in the condition field, then set your message for this launch condition.

Make sure you have the same Upgrade Code for all previous versions of your product for this to work so that they are properly detected.

Custom Launch Conditions effectively end the install process when their conditions are evaluated to "true". If you want your installer to display the message then continue the install, you can use the Message Box custom action instead. If this is the case, make sure you place the custom action after the FindRelatedProducts standard action, so that the OLDPRODUCTS has been evaluated.

Best regards,
Gabriel
Gabriel Barbu
Advanced Installer Team
http://www.advancedinstaller.com/
bharathkumarreddy.s
Posts: 19
Joined: Wed Feb 24, 2010 10:34 am

Re: Installer problems

where i need to add these two lines of code? First of all please just think, iam new to this Advanced installer.
Then please give the steps like this A-->B-->C----------
CODE: SELECT ALL
OLDPRODUCTS
Bogdan
Posts: 2796
Joined: Tue Jul 07, 2009 7:34 am
Contact: Website

Re: Installer problems

Hi Bharath,

First of all you have only one line containing the code desired:

Code: Select all

OLDPRODUCTS
The label "SELECT ALL" automatically added by the forum to a code section.

Here are the steps you need to follow:
  • go to Prerequisites page, Custom Launch Conditions tab
  • use the [New] button to create a new launch condition
  • set the field "Condition" to:

    Code: Select all

    OLDPRODUCTS
  • save, rebuild and test the package on a machine on which you have older versions installed to see the results
Please let us know if you have any questions.

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

Return to “Common Problems”