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!

Search found 3 matches

Go to advanced search

by MrMann
Fri Feb 24, 2017 2:39 pm
Forum: Building Installers
Topic: Set APPDIR from Powershell
Replies: 4
Views: 4219
 
Jump to post

Re: Set APPDIR from Powershell

I've managed to get this set now using:
AI_SetMsiProperty APPDIR (Get-ItemProperty -Path HKLM:\SOFTWARE\wow6432Node\oracle\database\11).data_dir

What I need to do now, is figure out how to query the x64 area, if the x32 area is not present.
by MrMann
Fri Feb 24, 2017 12:54 pm
Forum: Building Installers
Topic: Set APPDIR from Powershell
Replies: 4
Views: 4219
 
Jump to post

Re: Set APPDIR from Powershell

Hi Dan,
Thanks for your response - I have come across this page already, but I must admit it didn't really help me that much. I've tried running the following, but it seems to error when running:
// getting a property
$APPDIR = (Get-ItemProperty -Path HKLM:\SOFTWARE\Oracle\Database\11).data_dir
by MrMann
Fri Feb 24, 2017 12:26 pm
Forum: Building Installers
Topic: Set APPDIR from Powershell
Replies: 4
Views: 4219
 
Jump to post

Set APPDIR from Powershell

Hi,
We're running AI 12.8 and I'm trying to set the APPDIR from a value that's in the registry. I've tried using the search facility in AI, but it doesn't seem to quite work in my case.

Our main software can run either x86 or x64, so I need to search HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\<Company ...

Go to advanced search