What are the effects of 'Enable UAC' on wizzard?

Add-in Express™ Support Service
That's what is more important than anything else

What are the effects of 'Enable UAC' on wizzard?
 
Andrew Szczeszynski




Posts: 44
Joined: 2007-02-02
Hello,

I'm trying to debug a Vista setup (having the setup crash. Curious thing - after running the Setup 3 times, and have it crash 3 times, it eventually installs the application). I noticed that there is an 'Enable UAC' option when creating a new project - what are the effects of this option? How can I turn that option on/off after a project has already been created?

Sincerely,
Andrew Szczeszynski
Posted 13 Dec, 2007 17:19:53 Top
Sergey Grischenko


Add-in Express team


Posts: 7224
Joined: 2004-07-05
Hi Andrew.

I suppose the UAC is enabled in your Vista.
The post build event of the setup project makes the setup UAC aware.
So, the UAC popup window is not shown when you run the msi file under the non-admin user in Vista. You can remove the post build event if you wish.
Posted 14 Dec, 2007 08:54:31 Top
Andrew Szczeszynski




Posts: 44
Joined: 2007-02-02
Alright - let me ask another question.

I'm having the setup project crash on a Vista machine with Office 2007 (sometimes msiexec is caught in an infinite loop, sometimes it crashes). It crashes in a way that part of the installation is completed, so after multiple runs, it eventually goes through (that, or it 'randomly' works, don't know yet). I've attached a crash log. What's the best way of debugging this setup project? (And any thoughts?) (Oh, and I tried disabling UAC on the computer with no effect)

Cheers,
Andrew

Problem signature:
Problem Event Name: APPCRASH
Application Name: MsiExec.exe
Application Version: 4.0.6000.16386
Application Timestamp: 4549af77
Fault Module Name: ntdll.dll
Fault Module Version: 6.0.6000.16386
Fault Module Timestamp: 4549bdc9
Exception Code: c0000005
Exception Offset: 00061f2a
OS Version: 6.0.6000.2.0.0.256.1
Locale ID: 4105
Additional Information 1: 1da0
Additional Information 2: d54b87b7a75ffdcd1f458dab7c8ffbaf
Additional Information 3: 1da0
Additional Information 4: d54b87b7a75ffdcd1f458dab7c8ffbaf
Posted 14 Dec, 2007 11:51:36 Top
Sergey Grischenko


Add-in Express team


Posts: 7224
Joined: 2004-07-05
Posted 14 Dec, 2007 12:25:32 Top
Andrew Szczeszynski




Posts: 44
Joined: 2007-02-02
I added the script - the script ran successfully in post-build. Checking it .... (did not uninstall properly the first time)....

- Andrew
Posted 14 Dec, 2007 12:57:08 Top
Andrew Szczeszynski




Posts: 44
Joined: 2007-02-02
Still not working. I had to create fresh Vista machines as the old ones did not seem to behave consistantly after a failed install.

But at least I got a promissing error message (yay). Adxloader fails, and here is why (Vista x86 with Office 2007):

Add-in Express Loader Log File: 12/14/2007 20:33:00

Startup directory: C:\Program Files\SoftwareTheories\NaturalWord\
------------------
20:33:00 444 Starting the add-in registration process.
20:33:00 444 Getting the default version of the .NET Framework.
20:33:00 444 Success (v2.0.50727).
20:33:00 444 Loading CLR: v2.0.50727.
20:33:00 444 The CLR (v2.0.50727) has been initialized successfully.
20:33:00 444 Creating a new domain setup.
20:33:00 444 Success.
20:33:00 444 Getting the add-in directory.
20:33:00 444 Success. The directory is 'C:\Program Files\SoftwareTheories\NaturalWord\'
20:33:00 444 The 'shadow copy' is disabled.
20:33:00 444 Creating a new application domain.
20:33:00 444 Success.
20:33:00 444 Getting the base directory for the domain.
20:33:00 444 Success. The directory is 'C:\Program Files\SoftwareTheories\NaturalWord\'.
20:33:00 444 Seaching for the Add-in Express core library.
20:33:00 444 Success. The 'addinexpress.mso.2005.dll' file has been found.
20:33:00 444 Creating an instance of the 'AddinExpress.MSO.ADXLoaderSupport' class.
20:33:00 444 Assembly identity is 'addinexpress.mso.2005'.
20:33:00 444 Success.
20:33:00 444 Unwrapping the instance of the 'AddinExpress.MSO.ADXLoaderSupport' class.
20:33:00 444 Success.
20:33:00 444 Creating an instance of the XML parser class.
20:33:00 444 Success.
20:33:00 444 Loading the manifest file (C:\Program Files\SoftwareTheories\NaturalWord\adxloader.dll.manifest).
20:33:00 444 Success.
20:33:00 444 Getting the root element of the manifest (C:\Program Files\SoftwareTheories\NaturalWord\adxloader.dll.manifest).
20:33:00 444 Success.
20:33:00 444 Getting the 'assemblyIdentity' element of the manifest (C:\Program Files\SoftwareTheories\NaturalWord\adxloader.dll.manifest).
20:33:00 444 Success.
20:33:00 444 Seraching fo the 'name' attribute of the 'assemblyIdentity' element.
20:33:00 444 Success. The name is 'NaturalWord, PublicKeyToken=affa8abb7674479f'.
20:33:00 444 Calling the managed procedure to register the 'NaturalWord, PublicKeyToken=affa8abb7674479f' assembly.
20:33:00 1192 Connecting to the application domain of the Add-in Express loader.
20:33:00 1192 Success.
20:33:00 1192 Loading the 'NaturalWord, PublicKeyToken=affa8abb7674479f' assembly.
20:33:00 1192 Error: Could not load file or assembly 'NaturalWord, Version=1.0.2904.21675, Culture=neutral, PublicKeyToken=affa8abb7674479f' or one of its dependencies. The application has failed to start because its side-by-side configuration is incorrect. Please see the application event log for more detail. (Exception from HRESULT: 0x800736B1)
20:33:00 1192 Inner Exception: The application has failed to start because its side-by-side configuration is incorrect. Please see the application event log for more detail. (Exception from HRESULT: 0x800736B1)
20:33:00 1192 The managed registration process is complete with HRESULT = 2.
20:33:00 444 The add-in registration process is complete with HRESULT = 2.

Posted 14 Dec, 2007 21:20:34 Top
Andrew Szczeszynski




Posts: 44
Joined: 2007-02-02
D'oh - my fault. Having upgraded to VS SP1 in the hopes of solving Vista problems, I did not update my VS C++ redistributable libraries. It all works now (though I found myself forced to create a clean Vista setup, as the old one refused to work even with the new VS libraries).

As always, thank you for the prompt and helpful support!

Cheers,
Andrew
Posted 16 Dec, 2007 18:14:03 Top
Sergey Grischenko


Add-in Express team


Posts: 7224
Joined: 2004-07-05
Hi Andrew.

It's a good news. Please let me know if you face any other difficulties.
Posted 17 Dec, 2007 10:57:42 Top