Bypp
Bypp

Reputation: 331

NSIS Uninstaller to remove save files

I am currently using NSIS to create an installer for my app. My app is made using C# (with Unity3D) and I was wondering if there is an equivalent to the two following functions in C# that I am using to save files (save data and such) during the execution of my app, in Python.

I want to know the paths to the save files to be able to remove them in my uninstaller !

Here are the paths :

Save path :

Application.persistentDataPath

Image path (the user is able to save some pictures in his picture folder) :

Environment.GetFolderPath(Environment.SpecialFolder.MyPictures)

Is there a way to get these paths in Python ? Or in my .nsh file (where the uninstall files are listed) ?

Upvotes: 0

Views: 319

Answers (1)

Anders
Anders

Reputation: 101666

The NSIS shell constants are listed in the help file (4.2.3 Constants). You are probably looking for $APPDATA\YourApp and $PICTURES...

Upvotes: 1

Related Questions