Prerequisites - 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!

euroice
Posts: 4
Joined: Wed Mar 10, 2010 5:53 pm

Prerequisites

Sorry for the question but i´m a beginner.

I´ve a application who need some prerequisite, like crystal report runtime 3.5SP1, SQL compact edition etc.

But when these is also installed the program Setut create by AI gime an error " impossible because other version exist"

How search these software in computer?
By Register key? or also and whats option

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

Re: Prerequisites

Hello Maurizio,

You can search either by registry key or by file name. You will have to make sure the registry or file search only succeeds for Crystal Reports 3.5SP1 and not lower, if the user needs this version and not a lower one to use your software. Same would go for SQL. This means you will have to check which files or registries are only installed with those specific versions. You can search for a file's version, or some unique registry key for each version to do this.

Best regards,
Gabriel
Gabriel Barbu
Advanced Installer Team
http://www.advancedinstaller.com/
euroice
Posts: 4
Joined: Wed Mar 10, 2010 5:53 pm

Re: Prerequisites

Thank u for answer

But the probllem is in Windows 7. My application need .NET Framework 3.5 SP1 and everythink try to install in Windows 7 without success because is a built in in Windows7 but i dont know in what registry key the info is stored in windows 7

Maurizio
:wink:
GabrielBarbu wrote:Hello Maurizio,

You can search either by registry key or by file name. You will have to make sure the registry or file search only succeeds for Crystal Reports 3.5SP1 and not lower, if the user needs this version and not a lower one to use your software. Same would go for SQL. This means you will have to check which files or registries are only installed with those specific versions. You can search for a file's version, or some unique registry key for each version to do this.

Best regards,
Gabriel
GabrielBarbu
Posts: 2146
Joined: Thu Jul 09, 2009 11:24 am
Contact: Website

Re: Prerequisites

Hi Maurizio,

You can simply use the VersionNT property. It has a value of 601 on Windows 7. You can thus use this in a comparison to determine whether or not to install the .NET 3.5 prerequisite. This way, you would not need to search through the registry.

Best regards,
Gabriel
Gabriel Barbu
Advanced Installer Team
http://www.advancedinstaller.com/
euroice
Posts: 4
Joined: Wed Mar 10, 2010 5:53 pm

Re: Prerequisites

Hi
Thank you for answer.

Now i've other problem unsolved.

I've to check in user machine if there are a Crystal report Italian.
In my computer i found the information in c:/program files/business Object/Common/2.8/bin/U3520it.dll or other dll with extension it

I'm not able to put these in prerequisite in Search Criteria.

I've to use Edit Search String ? and after what i've to do?
Environment Variable?
Sorry for questions
Maurizio Paci
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: Prerequisites

Hi,

You can try determining what registry entries are created by Crystal Reports and use one of these entries. Perhaps Process Monitor can help you.

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
euroice
Posts: 4
Joined: Wed Mar 10, 2010 5:53 pm

Registered DLL

Sorry alls but i'm a beginner.

I've a dll in my packege and must be registered.

How i do that in Advanced Installer 7.6 ? :?:

Thanks alls

Maurizio PAci
GabrielBarbu
Posts: 2146
Joined: Thu Jul 09, 2009 11:24 am
Contact: Website

Re: Prerequisites

Hi Maurizio,

For registering a DLL all you need to do is right click it in Advanced Installer, go to Properties and mark it for registration in the Registration group -> Auto register file.

Best regards,
Gabriel
Gabriel Barbu
Advanced Installer Team
http://www.advancedinstaller.com/

Return to “Common Problems”