Version 11 Build 4 Problems

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

Previous topic - Next topic

Randem

Please look at this logically. If you change something after it is created, how can it be there BEFORE it is created then be inserted in the creation? You cannot do that in InnoScript without the templates; and that would have nothing to do with Inno Setup...

Randem

Sorry, but modifying a script in Inno Setup would have no effect on InnoScript in any manner shape or form. It is impossible... InnoScript does not care about the output of Inno Setup. You have to be mistaken about this. You have to have a procedural error to see a case where comments after the script is generated to be included in the next generation of the script. It's the cart and the horse... If in your procedure you see this effect; then your procedures cannot be trusted or the equipment cannot be trusted. The after effect cannot have an effect before the effect itself.

Tom Buggy

I am disappointed with your latest response.  I understand your advice about testing on a development system and will follow it.  I also have a Windows 7 system on which development has never been done.  However, your testing advice has nothing to do with the four items I mentioned about my work with InnoScript.  You say: "NONE of what you mention can be true."  I say they certainly are true because I have seen them happen, and I believe the testing process I used when they happened was legitimate.

In my years of providing support for our apps I have had a number of situations where I could not reproduce a reported customer problem.  My reaction has always been to ask myself "What could possibly cause this?" and proceed to try to identify and evaluate possibilities on both the customer side and the app side.  I would have expected something similar from you.  Again, the four InnoScript situations DID HAPPEN!

Randem

I am not perplexed at all. These are the dangers of testing on your development system, you cannot trust the results. Do yourself a favor, get the Oracle VM VirtualBox; install a clean Windows OS and test there. NONE of what you mention can be true about the comments . There is ABSOLUTELY no way that you can comment out something in Inno Setup and it appears in InnoScript after a new run... NOT EVEN A CHANCE... InnoScript recreates the script from scratch and does not care about what you have done in Inno Setup...

BTW: You never have to save the project. On exit InnoScript will automatically save it if any changes were made.

Tom Buggy

Okay -- fresh start.  Just to be really fresh I uninstalled/reinstalled InnoScript (reinstall from the erroneously labelled Build 2 link on the Randem website which installs Build 3).  I modified the Desktop icon to always Run as Administrator, which I know is now the case because if I right-click on the icon, Run as Administrator is bolded.  I then created the project as a New Project and substituted your Unsafe file in C:\Users\Tom\AppData\Local......\Release.  Sorry to say, there is no change in the results, as follows:

-- I created the script.  Same as before, only one missing file was listed -- the I1-2-0.dll

-- To test the Already Running situation I exited without first saving the project with the Save Project button.  When I ran InnoScript again I got the Already Running message, which I cleared with Task Manager.  I then ran InnoScript again and opened the project.  The Inno Setup Parameters and Settings were gone (interestingly, two files which I had added to the project with Add Files were still there).

-- Now comes a new situation.  I completed the Inno Setup Parameters and Settings and created a script.  132 missing files were listed, including the many api.... files and others which weren't previously listed.

-- After deleting the project I recreated it as a New Project (again with your Unsafe file) to test the previous situation where if I comment out the missing file in Inno Setup, recompile, return to InnoScript and save the project via the Save Project button, exit and then open the project in Inno Script, the I1-2-0 statement in the script is commented out.  The result was the same as before -- only the same one file was listed as missing when I created the script and it was commented out in the script after I did the Inno Setup thing and reopened the project in InnoScript.

What next?  Obviously, something is going on in my system that is not going on in yours.  From one standpoint I can live with the situation because when I install the app with the Release file it appears to work properly, including on my XP system.  However, I guess I can't be sure that will be the case on customer systems.  Further, I'm intrigued with the problems/differences we are seeing, as I would think you are.

PS Out of curiosity I did an Internet search for the I1-2-0.dll file.  I didn't find it anywhere, including in a Microsoft Support search.  The only api-ms-win-security-base- file that appears in any search is I1-1-0.dll.

Randem

No, the messages about saving are true and correct. Something like that would have popped up long ago since we use InnoScript to create InnoScript; we would have noticed that we were not changing anything...

Remember to modify your shortcut to "Run as Administrator" and that should solve that. If the OS virtualizes your data; there is not much InnoScript can do...

Tom Buggy

I just got back from dinner and a movie.  I'll work on the Unsafe situation tomorrow and get back to you then.  Also, I have some new information about the previous situation of "Already Running" that I discovered during experimentation earlier today:

-- If I exit InnoScript without first clicking the Save Project button, when I next run the program I get "Already Running."  After I clear that in Task Manager, run the program and load the project, the Inno Setup Parameters and Settings are gone.

I realize that using the Save Project  button before Exit is logical and I had been doing that before today's experiment.  However, when an exit is made without first using the button there are "Saving Settings" and "Saving Project" messages that flash at the bottom of the screen.  In the least, that's misleading.  Worse, it seems that the messages are false.

Randem

Here is my unsafe file, Run InnoScript using this file.

Tom Buggy

I don't know what more I can check.  You have the Unsafe file I sent with the vbp and exe files.  The I1-2-0 is in there.  Also, the scenarios I provided below HAPPENED!

Randem

Windows 8.0 or 8.1 the operations are still the same. If you put the file in the unsafe file and re-run InnoScript the file WILL be removed no exceptions. Please check your process of operations.

Randem

That is not possible... Here is the script I generated with your files. You must have a misconception about the operations. There is NO possible way that you can comment out a line in the script then re-run InnoScript and the line comes out of InnoScript commented out. InnoScript does not read the script...

Tom Buggy

In regard to your missing files post:

-- At this point there's only one api......... file that is listed as missing -- the I1-2-0.  I don't know what happened to the previous I1-2.
-- I'm running Windows 8.1.  Don't know if there's a difference with your Windows 8 -- is it 8.0 or 8.1?

Seems like we have a mystery.

Tom Buggy

The same scenario occurs when Inno Setup is run separately -- that is, outside of InnoScript.  It appears that InnoScript is recognizing the commented-out line from Inno Setup when the InnoScript project is loaded after Inno Setup has been used.

Randem

I ran your project here on Windows 8 and found the following files missing:

api-ms-win-downlevel-user32-l1-1-0.dll
api-ms-win-downlevel-shell32-l1-1-0.dll
api-ms-win-downlevel-version-l1-1-0.dll
api-ms-win-downlevel-normaliz-l1-1-0.dll
api-ms-win-core-registry-l1-1-0.dll
api-ms-win-core-com-l1-1-0.dll
api-ms-win-core-localization-l1-2-0.dll
api-ms-win-core-interlocked-l1-2-0.dll
api-ms-win-core-synch-l1-2-0.dll
api-ms-win-core-string-l1-1-0.dll
api-ms-win-core-processenvironment-l1-2-0.dll
api-ms-win-core-processthreads-l1-1-1.dll
api-ms-win-core-errorhandling-l1-1-1.dll
api-ms-win-core-debug-l1-1-1.dll
api-ms-win-core-libraryloader-l1-1-1.dll
api-ms-win-core-file-l1-2-0.dll
api-ms-win-core-memory-l1-1-1.dll
api-ms-win-core-sysinfo-l1-2-0.dll
api-ms-win-core-handle-l1-1-0.dll
api-ms-win-core-heap-l1-2-0.dll
api-ms-win-security-base-l1-2-0.dll
api-ms-win-core-datetime-l1-1-1.dll
api-ms-win-core-profile-l1-1-0.dll
api-ms-win-core-kernel32-private-l1-1-0.dll
api-ms-win-core-localization-obsolete-l1-1-0.dll
api-ms-win-core-string-obsolete-l1-1-0.dll
api-ms-win-core-wow64-l1-1-0.dll
api-ms-win-core-localization-private-l1-1-0.dll
api-ms-win-core-localization-l2-1-0.dll
api-ms-win-core-apiquery-l1-1-0.dll
api-ms-win-core-delayload-l1-1-1.dll
api-ms-win-core-threadpool-l1-2-0.dll
api-ms-win-core-fibers-l1-1-1.dll
api-ms-win-core-rtlsupport-l1-2-0.dll
api-ms-win-eventing-provider-l1-1-0.dll
api-ms-win-core-util-l1-1-0.dll
api-ms-win-core-kernel32-legacy-l1-1-0.dll
api-ms-win-core-heap-obsolete-l1-1-0.dll
api-ms-win-core-privateprofile-l1-1-0.dll
api-ms-win-core-sidebyside-l1-1-0.dll

I copy/pasted these files t the Unsafe.fil and re-ran InnoScript and all files were removed. I am not sure why you only have one or two files...


Tom Buggy

You may find the following scenario interesting:

-- Opened the project in InnoScript; created the script; the I1-2-0.dll file is listed as missing.
-- Ran Inno Setup from within InnoScript; commented out the I1-2-0.dll line and compiled.
-- Upon return to InnoScript saved the project and exited.
-- Ran InnoScript again.  In the presented script the line for the I1-2-0.dll file is a comment (; prefix and in Green).
-- Created the script again; the I1-2-0.dll file is listed as missing.