Forum Discussion

harlin000's avatar
harlin000
Copper Contributor
Jan 23, 2020
Solved

Need configuration information added to .CONFIG file at MSIX install time.

I have a .NET application that has a client and a server component.  The client component needs to know where the server component is located, i.e. machine name and port.  This information varies acc...
  • alexmarin89's avatar
    Jan 24, 2020
    Hi,

    It’s not possible during install to achieve this. However, using the PSF, you can add a custom script (powershell) to run before opening the application.

    Take the desired input from the script and change the file. If the file is present in the installation directory, you must also create a redirect for it in the appdata of the app.

    In Advanced Installer we have a special section for the PSF called AppCompat where you can achieve this.

Resources