Use a custom ini file with win32 app

Shay Wereik 0 Reputation points
2023-05-04T03:47:01.7733333+00:00

Hi all,

I'm trying to deploy an app via Intune I can get the app to deploy fine, but the app requires an .ini file that currently is manually moved into the program x86 folder from a shared drive.

When running the win32app tool I specify the source / setup and destination details I have read doing a -c will package everything within the folder but adding and - commands gives me an error "The setup file you have specified can not be accessed" I have copied it to my local machine changed devices added full control permissions still with no luck.

If I select just the .msi as the setup file, it works without any issues but the ini file is still blank

Any questions or answers would be appreciated.

Microsoft Security | Intune | Other
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Crystal-MSFT 53,986 Reputation points Microsoft External Staff
    2023-05-05T01:26:16.72+00:00

    @Shay Wereik, Thanks for posting in Q&A. From the error message, it seems the config file unable to access. Would you mind creating another folder to store the configuration file?

    Meanwhile, please check what is the Install behavior we configured on the win32 app, system or user?

    If the install behavior is user, make sure the user has full control permission on the folder and the file. If the install behavior is set as system, please ensure the system account has full control on the folder and file.

    Please try the above suggestion and if there's any update, feel free to let us know.


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


  2. Pavel yannara Mirochnitchenko 13,336 Reputation points MVP
    2023-05-08T06:00:34.2166667+00:00

    You need to script entire process, .ini file copying together with the package to desired location and execution of msi file.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.