Version 11 Build 4 Problems

Started by Tom Buggy, October 15, 2014, 09:45:23 AM

Previous topic - Next topic

Randem

You will not achieve much by editing the UnSafe File in the installation folder, the files there are not for user usage. You have to edit the Unsafe file within InnoScript (on the left side menu in the top square area) Unless you know where the actual physical location is. Yes, in the updated Windows OS systems you may need to run as administrator or Windows will virtualize the data (even though you are an administrator on your computer). Basically you are an administrator but you need to be a super admin to write to some locations and that is totally under Windows Security control.

As far as testing your installation use a Virtual Machine. The software is free and there are a few to choose from. We prefer Oracles VM Virtual Box.

Tom Buggy

An update to my last post.  I ran InnoScript As Administrator, created the project again as a new project and was able to save the project and reload it without losing the settings.  I am also not getting the "Already Running" situation when I exit and rerun.  However, the api-ms-win-....... file continues to appear as missing in the generated script.

PS With respect to the previous "Already Running" situation, I have noticed that when InnoScript is running it is listed in the Background Processes area of Task Manager (not the Apps section).  Therefore, disregard my previous input of not finding it in Task Manager.

Tom Buggy

All of the problems I am experiencing with InnoScript remain:

-- The "Already Running" situation continues and InnoScript is NOT in the Apps section of Task Manager when it does.

-- I created a folder in Documents and started a new project with the same specs.  I added the api-ms-win-security-base-11-2.dll file to the Windows section of Unsafe Files and modified the Unsafe.fil file in the InnoScript installation folder.  I created a script -- the api-ms-win-security-base-11-2 file again was listed as a missing file.  A .iss file was created.  I exited and the project file was saved to the created folder in Documents.

-- I ran InnoScript again and opened the project file from the created folder in Documents.  The Inno Setup Parameters and Settings were blank.

I may have worked around the problems with InnoSetup.  I edited the .iss file to comment out the missing file line, compiled, and installed the app with the Release file.  The app appears to be working properly on both the Windows 8.1 computer (yeah, I know, don't test on the development machine) and on a Windows XP computer.

Randem

InnoScript would have to be in Task Manager if it were still running. Sort the tasks alphabetically and it should be there.
It looks like you are creating a folder in the root of drive c. You may need SPECIAL privileges to write there. Try telling InnoScript to use your Documents folder. Create a folder there.

Tom Buggy

When the "still running" situation occurred I opened Task Manager -- InnoScript was not there.

I created the New Folder on Drive C and named it Inno.  On its Security tab in Properties it has Full Control for Users.

Randem

If InnoScript is Running, all you need to do is to open Task Manager and end the task named InnoScript; You do not need to restart the computer. InnoScript would stay running if it were shutdown improperly or another application is preventing it from closing.
As far as the file is concerned; you do not need to see it anywhere for it is an OS file and they are different for each OS and you should NEVER transfer/install OS files less you may crash the system you install your application on. It is nothing to worry about.

You never mentioned where you created the folder and what permissions you have on that folder.

Tom Buggy

I have never seen this file associated with the app, the .vbp or the PDW, or in scripts generated with the same .vbp under Windows XP.   I have no idea why it appears as missing in the script.  Could this be a Win8.1/64-bit situation?  I'll follow your Unsafe Files recommendation and see what happens.

My other problem continues.  I started over with a new project as follows:

-- When prompted at the start for saving the project file I specified a folder that I had created via New Folder.
-- I entered all the info and created the script that contained the missing file situation.
-- When I exited the project file was saved in the folder mentioned above and a .iss file was created.
-- When I ran InnoScript again and opened the project file the Inno Setup Parameters and Settings were blank.

Here's a new situation.  Sometimes when I start InnoScript fresh from the Desktop I get a message that it is running.  I then need to restart the computer to clear things.  I did the "CheckForUpdates=False" modification of the .ini file but it has not resolved the situation.

Randem

I am not understanding the question; missing files have been handle the same way for years. Add them to the Unsafe file list and they will not appear in any future script generations. Not sure of what you are asking.
If you are asking why the file is missing; that is because a file you are using was compiled with the reference to this file. They may have never used it but it is referenced just the same so it appears in the file list. A file of the type you mentioned (Windows OS) can safely be placed on the unsafe list. Hopefully this will answer your question.

Tom Buggy

What about the missing file: api-ms-WIN-SECURITY-BASE-11-2.dll?


Randem

To clear the Recent Project List, look in the InnoScript.ini file under the section of [Projects] and you will find the list of recent projects.
The InnoScript.ini file is located at C:\Users\YOURUSERNAME\AppData\Local\Randem Systems\InnoScript\Release

As far as the project setting disappearing we have seen that if you attempt to save the data in a location that you do not have write permissions. In those cases Windows will virtualize the location and place the data somewhere else. The project will appear empty every time for InnoScript will not look in the virtualize location but in the original location where you have Read privileges and the file will not be there.

Tom Buggy

I've installed InnoScript on a Windows 8.1/64-bit system.  I started a new project based on a VB6 .vbp file located in a standalone folder and used the default Versioning setting of XP to Windows 8.  I've encountered the following problems after generating the script:

-- I get the following missing file: api-ms-WIN-SECURITY-BASE-11-2.dll

-- After the project is saved and I reload it in a new run of InnoScript there are no Inno Setup Parameters and the Settings are blank (do not show the .vbp file).

-- A minor situation: How can I clear the Recent Files list that's shown from the Files submenu?

Thanks.