Reading a Registry Key as the APPPATH - 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!

jaltuve
Posts: 1
Joined: Wed Nov 17, 2010 11:45 pm

Reading a Registry Key as the APPPATH

Hi, I'm currently evaluating the freeware version, so far it looks fantastic, but I'm afraid that what I want to do can only be achieved via custom actions in the commercial version, is this correct?

I need to patch a game (Flight Simulator X) with a custom set of files I've modified. The only problem, is that the 'location' of FSX is contained in the following registry key:

[HK_LM\SOFTWARE\Microsoft\Microsoft Games\Flight Simulator Demo\10.0\SetupPath]

I need to install the patch in the location returned by the 'value' of the SetupPath key above. I tried creating a property in the Install parameters page, hoping that I could name the property 'FSXPath' and assing the registry key above as the 'value' so it will be resolved... obviously, is not that easy ;)

Am I trying to do something that the advanced installer can not do? or I simply need the commercial version for this?

Thanks!
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: Reading a Registry Key as the APPPATH

Hello and welcome to the Advanced Installer Forums,
I need to install the patch in the location returned by the 'value' of the SetupPath key above.
You can find a sample project along with the solution scenario steps in my colleague's following thread.
Am I trying to do something that the advanced installer can not do? or I simply need the commercial version for this?
Yes, in order to achieve this functionality you will need both Search and Custom Actions major features, which are available only from the Professional license.
You may also find the Enterprise license very helpful, because starting with it you would have access to our Game Explorer feature as well.

Since you are new, I highly recommend you read our tutorials for a better understanding of how to use Advanced Installer to efficiently deploy your products.This will also help you better understand support team's suggestions now and in the future. The Simple and Professional tutorials are especially important.

Regards,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”