barryharrington
Posts: 1
Joined: Fri Aug 26, 2022 3:53 pm

[APPDIR] not picking up user entered path for registry entries

Fri Aug 26, 2022 4:02 pm

When a user changes the default path for installation from the installation dialog the value is not being transferred to APPDIR when writing registry entries. Example: adding registry entry for vsto file to Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office\Excel\Addins\RVI PC Imaging 9 with Manifest set to file:///[APPDIR]RVIOffice\RealVision.Excel.Addin.vsto||vstolocal results in the default APPDIR "c:\rvi" and not the entered installation folder "c:\rvi2". See attached for current settings. Is there a way to get the entered path for the registry entries?
registry.JPG
registry.JPG (51.04KiB)Viewed 3434 times

Liviu
Posts: 1035
Joined: Tue Jul 13, 2021 11:29 am
Contact:  Website

Re: [APPDIR] not picking up user entered path for registry entries

Mon Aug 29, 2022 7:10 am

Hello and welcome to our forums,

Unfortunately I'm not able to reproduce this using a sample project.

Can you please send us the .AIP (setup project) file and an installation log by email to support at advancedinstaller dot com so we can further test and investigate this?

You can create an installation log by launching your setup package with a command line like this:

Code: Select all

msiexec /i setup.msi /L*V installLog.txt
when using an MSI package type, or a command like this

Code: Select all

setup.exe /L*V installLog.txt
when using an EXE package type.

Best regards,
Liviu
________________________________________
Liviu Sandu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Building Installers”