Inno Setup & Kaju returns -50

So I have Kaju correctly prompting me about an update when I’m in debug mode. But now that I’ve built the project and used InnoSetup to install it, I get a -50 (NoWritePermission) when it executes. I got past this when I manually changed the permissions on the folders starting at C:\Program Files(x86)\My App\ but then I just get the standard windows “My App has stopped working” error.

I have 2 questions:

1- Does anyone have a sample Inno setup that works with Kaju? I think it was the Kaju readme that told me I needed to set permissions on the parent folder for my app but I’m not sure how to set those permissions with Inno.

2- What am I missing with Kaju? I can’t reproduce this in debug yet so I’m a little lost as to what/where this is happening. It gets as far as the prompt in debug mode. I haven’t gone beyond that yet because I think it will be cleaner to run it on a real install.

Thanks!
Ben

I’ve got one issue answered. While obvious it felt a little counter-intuitive to me but the way you set the permissions on the base app directory is by using the [Dirs] section:

Name: “{app}”; Permissions: users-full

I guess seeing all the inno setup examples made me think this section was just for sub-directories but it seems like it’s working to set those permissions.

I’m still hunting for what is causing the freeze in Kaju.

I’m back…

So it turns out that both issues pointed back to problems with my Inno Setup config. The second issue was because I incorrectly assumed that using a “*” in a line under the [Files] section would copy every file AND sub-directory and it does not. I had to add a separate line for the My App Libs\locales\ folder as the missing contents here were the cause of my issue #2 listed in the OP.

Ben