Using 11.4 on my PC (got rid of 10.4 build 9) and getting quite a few of these "red" notices" (only 1st one shown). What do you make of these? The .iss files works fine in Innosetup, i.e. installation .exe is made and properly installs the program.
[INI]
Filename: {app}\Golf Course Calendar.url; Section: InternetShortcut; Key: URL; String:
; Delete the frmParameter properties in the ini file so that the new form can be displayed properly
Filename: {localappdata}\Randem Systems\InnoScript\Release\InnoScript.ini; Section: frmParameter; Key: Top; String:
Odd. Re-ran InnoScript and the many lines I mentioned in 1st post no longer appear. A "clean" .iss file is produced.
Did you happen to install InnoScript 11 over InnoScript 10? That would seem to be the only reason for the ini file messages... It is repeatedly advised NOT to do that... They are too different to simply upgrade without all the errors and such.
I uninstalled the old version, 10.5 build 9. However I note that the folder for 10 is still in programs file. should I delete that folder? And I will check carefully again to make sure the the parameters is pointing to version 11.4.
I also just ran innoscript on my 2nd program and saw that Innoscript was looking for all kinds of files that old version didn't look for and the recent use of 11.4 on my main program didn't look for. Here is one file that I have no idea why it is looking for this:
Source: C:\Program Files (x86)\NSBasic\AppStudio\KERNEL32.dll; DestDir: {sys}; Flags: restartreplace sharedfile;
I have set up this 2nd program, printratingform, the same as the 1st file. What is going on and why is InnoScript looking for things like:
Source: USER32.dll; DestDir: {sys}; Flags: restartreplace sharedfile;
Source: GDI32.dll; DestDir: {sys}; Flags: restartreplace sharedfile;
Source: ADVAPI32.dll; DestDir: {sys}; Flags: restartreplace sharedfile;
Source: ole32.dll; DestDir: {sys}; Flags: restartreplace sharedfile;
Those are system files so you must be running in unsafe mode to get those files included in the script. In normal mode those files would be automatically removed... If you run in an unapproved mode, expect problems... The only reason to run in Unsafe mode is because you know exactly what you are doing and not guessing, that really does not help you...
BTW: When "Upgrading" from InnoScript 10 to InnoScript 11, all traces of InnoScript 10 need to be removed (files, folders etc...) before installing InnoScript 11 or issues may creep in.
Ok, I will do that now. But, four of my programs went through InnoScript when that folder was not removed and they worked fine.
Again, how would I turn off "unsafe mode"? I can't find anything, anyplace that says run in "unsafe mode"?
When everything goes right there are no issues, it's only when things go wrong that there are. You cannot compare the two... No one fixes what went right...
For the Safe Mode option go to Settings->Other tab then make sure "Run in Safe Mode" is selected (not in Blue).
"SETTINGS"??? In InnoScript? The "run in safe mode" is selected when I go there. And probably was to being with. running it again now with "run in safe mode" selected to see what happens. No change ...still tries to find all those "funny files".
Ok, attached is the innoscript file that is produced with all the "unsafe" stuff. I (1) deleted the old 10.4 9 folder in Programs files, (2) uninstalled InnoScript 11.4, (3) installed InnoScript 11.4, (4)ran innoscript for my program, printratingform.exe. Got the same thing, strange files were not found.
As you know, if I simply delete the files that are the problem I can get a good installation.exe. But why are these files trying to be installed too?
I tried using innoscript on my vista laptop for "printratinform.exe" and got he same "funny files". I don't understand why this is happening. If you like I can include the folder that the program is in and you can try to using innoscript on it and see if you can get it to work correctly. Other than that I don't see anything I can do except be aware that any "strange files" references should be removed when using InnoSetup.
Way past my bed time now so will "hang up" until tomorrow AM which will be very early as I can't sleep long when I have a computer problem.
But at least I have a "work-around" so I can at least have all three of my project program install-able.
Makes no sense why two of the files are fine but the one is not.
It seems that you have an old Unsafe file list. Replace yours with this one then re-run InnoScript.
The Unsafe file location is: C:\Users\YOURUSERNAME\AppData\Local\Randem Systems\InnoScript\Release
Nope, that is not the problem. The problem is that in the program that works the "SETTING > OTHER > CHECK FOR UNSAFE FILE" was selected (red background) whereas in the program that didn't work in InnoScript ("funny files") it WAS NOT SELECTED! So, selected it, ran InnoScript and lo and behold it worked correctly (no "funny file"). So, I can happily go to bed and maybe get a good night sleep now.
Ok, good you got it solved. :D