I'm a new user of InstallForge, I'm trying to create a setup for my application written in Python and converted in .exe using pyinstaller. I successfully created and run the setup but I noticed problems with paths management.
First of all when I disable the 'create desktop shortcut for all user' the icon appears only on Administrator User and not in the Desktop of the user that launched the app. I think that is because the setup need administrat privileges so I don't worry too much. My problem is about the app itself. When I exec the .exe created by Pyinstaller and print the path to the current user with:
Code: Select all
path_home = getpass.getuser()
path_home = Path(os.path.expanduser(f'~{path_home}'))but when I launch the application created by the InstallForge setup from the current user the same code give me: C://Users/{Administrator User} how can I solve this?