Page 1 of 1

Installer exits without any warning or message

Posted: Mon Jul 12, 2010 1:25 pm
by abdou24
HI,

I have a weird issue with my installaware setup on a XP SP3 O.S.
When i launch my installer, the setup load and extract the files, and after that just disappears.
I double check the temp folder, there is no "miaxx.temp" folder.
And i have a specific error information in my EventViewer log:
"The windows installer entered the stopped state". I look for some helps, and i've followed all the instructions mentionned here : http://social.technet.microsoft.com/For ... d8214c4e84
I stop my windows update service, my antivirus service also, but still the same thing.

Is it possible to have a log of the msi extraction process?
Does anyone have an idea about this issue?

Re: Installer exits without any warning or message

Posted: Mon Jul 12, 2010 7:19 pm
by mills
The odds are something is wrong with your script.

Have you tried to debug it (from the MSIcode tab)?

You could post your script to have us take a look if you find you can't debug it.

Re: Installer exits without any warning or message

Posted: Tue Jul 13, 2010 7:43 am
by abdou24
Can you give more informations about MSItab debug ? I use Orca to read the msi and even try to debug my script (with debug message to see which part of my script is executed) but still nothing.
I've enclosed the project.

Re: Installer exits without any warning or message

Posted: Tue Jul 13, 2010 9:14 pm
by mills
The debug feature(s) are like most other IDEs and allow you to step through the program logic. Using step (F8) may be most useful. Otherwise, you may want to set breakpoints (F5) in your MSIcode to indicate where you would like the debugger to pause at in your code. You can then step through from there to help identify where the bug is occurring. To learn more about debugging, search for "debug" in InstallAware's help (F1).

For logging that you might find useful, again search help for "logged execution" and you will see the option:

<setup.exe> /l=<path to logfile>

So, you might have something like:

PSMSuite7.exe /l=C:\log.txt

Note that the log path may not be relative (.\log.txt wouldn't work).

I looked at your project, but I couldn't run it, since I don't have the plug-in PSWLogonAsService.

If any of the help I've offered here doesn't help resolve your issue, please post the plugin and any others that aren't packaged by default.

Re: Installer exits without any warning or message

Posted: Thu Jul 15, 2010 9:25 am
by abdou24
I try to log the installation and the log is empty. It seems that the installer does not execute the script at all.
I've enclosed the project and commented "PSWLogonAsService" plug-in, you should be able to run the project.

Here is what is in the log:
<InstallAware>
<SetupSplash>
<StubSize>
</StubSize>
<StubData>
</StubData>
<GlobalLists>
</GlobalLists>
<SupportDir>
</SupportDir>
<ExtractArchive>
</ExtractArchive>
<ExtractResource>
</ExtractResource>
<ResourcePath>
</ResourcePath>
<Dialogs>
</Dialogs>
</SetupSplash>
<RunScript>
<Variables>
</Variables>
<CompileScript>
</CompileScript>
<BootStrap>
</BootStrap>
</RunScript>
<Free>
</Free>
<CachedSupportDir>
</CachedSupportDir>
</InstallAware>

Re: Installer exits without any warning or message

Posted: Fri Jul 16, 2010 3:22 pm
by mills
From the log provided, it indicates that the script is being run. The tags shown are all provided by the IA engine. It looks good, because all of the tags closed (particularly the <InstallAware> tag) which does show that the script was run. What looks like wasn't run, was the Apply Install command.

I still can't load your project. With the plugin line commented out, the project still references. You could copy your project and delete the plugin line(s) and it should work for me. Or include the plugin files.

It might be a good idea to try to reduce the project to what you think the problem specifically is also.

Re: Installer exits without any warning or message

Posted: Mon Jul 19, 2010 2:42 pm
by abdou24
HI,
Sorry for the inconvenience, i've removed the problematic plug-in.
I still don't understand why the "Apply Install" is not execute.
Please find the project enclosed, you should be able to build it.

Thanks,

Re: Installer exits without any warning or message

Posted: Mon Jul 19, 2010 10:05 pm
by mills
Testing in XP SP3, I didn't have any problems running this project. I've attached the log it produced for me. That's how it should look, and how it will look if the Apply Install is being executed.

I verified installation and was able to uninstall as well.

So, now we have a few questions.

  • I want to be sure whether you're testing on the same system that you're developing on?
  • Can you run the project you sent me without the same error?
  • Is the difference the addition of your plugin code?
  • Does it make a difference if a dongle is inserted (obviously I don't have one)?
  • Does it matter which language is selected?

It might be easiest to debug from your side. This applies if you are testing on the same machine as developing. Here's what I would do:
  • On any line in your project's script, press F5 or right-click and choose Toggle Breakpoint. The line's number should now appear red.
  • Build an uncompressed project.
  • Click the Debug button on the ribbon or press F9. As your install runs, you will notice that it will stop at the line you toggled the breakpoint on.
  • Now, click on the Step button or press F8. You can go through your install one line at a time and should notice where the install escapes or what is being skipped.

If you are testing on a system other than your development environment, I would recommend adding a number of Write to Text File lines to generate a log of your code to help see what lines aren't being executed.

Re: Installer exits without any warning or message

Posted: Wed Aug 25, 2010 3:13 pm
by abdou24
HI,

I was investiguate a little bit deeper in the installation process, and i notice during setup initialization, in the Temp folder of my machine, the installer always create a specific mia file with the revision code : REVISIONCODE.mia which is empty.
exp: {8B9AC72B-AC63-434E-B63C-02D12949B1B7}.mia

And by deleting this file, and relaunching the installer, the installation proceed correctly and does not exit prematurely

Any idea about that file?

Re: Installer exits without any warning or message

Posted: Fri Feb 11, 2011 12:42 pm
by pokr2
Hi,

I've been having this same issue. On upgrade, if this .mia file is present in the %TEMP% folder, installation silently exits.
Anybody has a solution to it?

Regards,

Octavio

Re: Installer exits without any warning or message

Posted: Mon Feb 14, 2011 12:45 pm
by giaviv
Dear InstallAware users,
I haven't experienced this issue first hand, however I would guess that it happens after playing around with InstallAware. In other words, this shouldn't happen on a clean machine. Please clear your temp folders and let me know if you experience this on a clean machine (I, like mills, wasn't able to reproduce this here).

Re: Installer exits without any warning or message

Posted: Wed Sep 13, 2017 12:42 pm
by mdavtec
Please refer to forum post: viewtopic.php?f=2&t=10791&p=41264&hilit=SINGLEINSTANCE#p41264

{8B9AC72B-AC63-434E-B63C-02D12949B1B7}.mia file is created when you build a project with "SINGLEINSTANCE" set to TRUE in Global Settings. This flag is used to prevent multiple instance of installation running in parallel. As said in above forum, the IA installation doesn't handle abrupt termination of installation (like killing installation process or reboot the system while installation is still going on). It leaves that file in %TEMP% folder. When you run installation again, it check for the file and if it exists it would exit without any warning. So as suggested by IA, if you clear %TEMP% folder, it resolves the issue.