jcouturier
Posts: 5
Joined: Thu Jul 01, 2021 3:33 pm

APPDIR empty in custom actions powershell

Thu Jul 01, 2021 7:15 pm

Hello,
When i execute custom actions (powershell), appDir variable is empty.
Can you tell me what's wrong?
Thank you.
Image

Daniel
Posts: 8187
Joined: Mon Apr 02, 2012 1:11 pm
Contact:  Website

Re: APPDIR empty in custom actions powershell

Fri Jul 02, 2021 6:59 am

Hi and welcome to our forums,

Can you please send us the .aip (project file) and a debug verbose log of the installation by email at support at advancedinstaller dot com so we can investigate them?

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

Code: Select all

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

Code: Select all

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

If you cannot share with us your project file, then you can try to isolate the behavior in a buildable sample (.aip + its referenced files) which we can build and test on our side.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Building Installers”