Click here to Skip to main content
15,885,537 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
I am trying to install a windows forms application i created in vb.net on a windows server 2003 os. I keep getting this error message "The installer was interrupted before Application could be installed. You need to restart the installer to try again.Click "Close" to exit." Any ideas as to why? I changed the .Net Framework to 4.0. Thanks.
Posted
Updated 30-Jul-15 9:49am
v2
Comments
Wendelius 30-Jul-15 15:55pm    
Have you checked if there's any more information in Windows Event Log
Member 10736689 30-Jul-15 17:06pm    
this is the log, i have been researching and trying different solutions but none has worked thus far.

SI (c) (98:C8) [15:03:07:026]: Machine policy value 'DisableUserInstalls' is 0
MSI (c) (98:C8) [15:03:07:057]: SOFTWARE RESTRICTION POLICY: Verifying package --> 'C:\Install\FTSeConnectInstaller.msi' against software restriction policy
MSI (c) (98:C8) [15:03:07:057]: Note: 1: 2262 2: DigitalSignature 3: -2147287038
MSI (c) (98:C8) [15:03:07:057]: SOFTWARE RESTRICTION POLICY: C:\Install\FTSeConnectInstaller.msi is not digitally signed
MSI (c) (98:C8) [15:03:07:057]: SOFTWARE RESTRICTION POLICY: C:\Install\FTSeConnectInstaller.msi is permitted to run at the 'unrestricted' authorization level.
MSI (c) (98:C8) [15:03:07:073]: Cloaking enabled.
MSI (c) (98:C8) [15:03:07:073]: Attempting to enable all disabled privileges before calling Install on Server
MSI (c) (98:C8) [15:03:07:073]: End dialog not enabled
MSI (c) (98:C8) [15:03:07:073]: Original package ==> C:\Install\FTSeConnectInstaller.msi
MSI (c) (98:C8) [15:03:07:073]: Package we're running from ==> C:\DOCUME~1\SQLSER~1\LOCALS~1\Temp\2\185c918.msi
MSI (c) (98:C8) [15:03:07:073]: APPCOMPAT: looking for appcompat database entry with ProductCode '{E393D19A-816D-4094-B006-FB94DF50599F}'.
MSI (c) (98:C8) [15:03:07:073]: APPCOMPAT: no matching ProductCode found in database.
MSI (c) (98:C8) [15:03:07:073]: MSCOREE not loaded loading copy from system32
MSI (c) (98:C8) [15:03:07:089]: Machine policy value 'TransformsSecure' is 1
MSI (c) (98:C8) [15:03:07:089]: Note: 1: 2262 2: MsiFileHash 3: -2147287038
MSI (c) (98:C8) [15:03:07:089]: Machine policy value 'DisablePatch' is 0
MSI (c) (98:C8) [15:03:07:089]: Machine policy value 'AllowLockdownPatch' is 0
MSI (c) (98:C8) [15:03:07:089]: Machine policy value 'DisableLUAPatching' is 0
MSI (c) (98:C8) [15:03:07:089]: Machine policy value 'DisableFlyWeightPatching' is 0
MSI (c) (98:C8) [15:03:07:089]: Enabling baseline caching for this transaction since all active patches are MSI 3.0 style MSPs or at least one MSI 3.0 minor update patch is active
MSI (c) (98:C8) [15:03:07:089]: APPCOMPAT: looking for appcompat database entry with ProductCode '{E393D19A-816D-4094-B006-FB94DF50599F}'.
MSI (c) (98:C8) [15:03:07:089]: APPCOMPAT: no matching ProductCode found in database.
MSI (c) (98:C8) [15:03:07:089]: Transforms are not secure.
MSI (c) (98:C8) [15:03:07:089]: PROPERTY CHANGE: Adding MsiLogFileLocation property. Its value is 'C:\eCnnt.log'.
MSI (c) (98:C8) [15:03:07:089]: Command Line: CURRENTDIRECTORY=C:\ CLIENTUILEVEL=0 CLIENTPROCESSID=3736
MSI (c) (98:C8) [15:03:07:089]: PROPERTY CHANGE: Adding PackageCode property. Its value is '{741B5EDC-130E-4E39-AB73-DAD7B2EEB739}'.
MSI (c) (98:C8) [15:03:07:089]: Product Code passed to Engine.Initialize: ''
MSI (c) (98:C8) [15:03:07:089]: Product Code from property table before transforms: '{E393D19A-816D-4094-B006-FB94DF50599F}'
MSI (c) (98:C8) [15:03:07:089]: Product Code from property table after transforms: '{E393D19A-816D-4094-B006-FB94DF50599F}'
MSI (c) (98:C8) [15:03:07:089]: Product not registered: beginning first-time install
MSI (c) (98:C8) [15:03:07:089]: PROPERTY CHANGE: Adding ProductState property. Its value is '-1'.
MSI (c) (98:C8) [15:03:07:089]: Entering CMsiConfigurationManager::SetLastUsedSource.
MSI (c) (98:C8) [15:03:07:089]: User policy value 'SearchOrder' is 'nmu'
MSI (c) (98:C8) [15:03:07:089]: Adding new sources is allowed.
MSI (c) (98:C8) [15:03:07:089]: PROPERTY CHANGE: Adding PackagecodeChanging property. Its value is '1'.
MSI (c) (98:C8) [15:03:07:089]: Package name extracted from package path: 'FTSeConnectInstaller.msi'
MSI (c) (98:C8) [15:03:07:089]: Package to be registered: 'FTSeConnectInstaller.msi'
MSI (c) (98:C8) [15:03:07:089]: Note: 1: 2262 2: AdminProperties 3: -2147287038
MSI (c) (98:C8) [15:03:07:089]: Machine policy value 'DisableMsi' is 1
MSI (c) (98:C8) [15:03:07:089]: Machine policy value 'AlwaysInstallElevated' is 0
MSI (c) (98:C8) [15:03:07:
Wendelius 1-Aug-15 1:35am    
What about Windows event log, anything related in there (system/application/security logs)?
Sergey Alexandrovich Kryukov 30-Jul-15 22:39pm    
It all depends on what did you use to create an installer. Also, I would say, there is nothing specific to Forms, as far as installation is concerned, except the case when you want to deploy .NET with your installation, which is also possible.
—SA
Member 10736689 3-Aug-15 10:02am    
I used visual studio setup project and it was .Net Framework 4.5 at first, then i realized that Windows Server 2003 supports only up to .Net Framework 4.0 so I changed the target framework, and prerequisites and build the installer over.

Please see my comment to the question, about WiX. See some more detail in my past answers:
Custom setup project[^],
installshield and Visual Studio 2012[^].

Another useful idea could be using WiX#:
https://wixsharp.codeplex.com[^],
Wix# (WixSharp) - managed interface for WiX[^],
Wix# (WixSharp) UI Extensions[^].

—SA
 
Share this answer
 
Comments
Member 10736689 3-Aug-15 13:44pm    
Hi I got it to install by running this command in command prompt msiexec /a MySetup.msi but i had to run command prompt as admin
Sergey Alexandrovich Kryukov 3-Aug-15 13:59pm    
Sure, why not?
—SA
The relevant line from your logfile is:
plain
Machine policy value 'DisableMsi' is 1

According to the documentation[^], that means: "Windows Installer is disabled for unmanaged applications but is still enabled for managed applications. Non-elevated per-user installations are blocked. Per-user elevated and per-machine installs are allowed."

In this case, "managed" means "deployed by Active Directory".

You'll need to get that policy changed before you can install a non-managed application.
 
Share this answer
 
Comments
Member 10736689 3-Aug-15 12:27pm    
Hi, thanks i will look into this.
Member 10736689 3-Aug-15 13:44pm    
Hi I got it to install by running this command in command prompt msiexec /a MySetup.msi but i had to run command prompt as admin
 
Share this answer
 
Comments
Member 10736689 30-Jul-15 17:16pm    
i tired the command from Victor but it says aspnet_regiis.exe is not a valid Win32 application. Access is denied
Mohammed Ibrahim.L 30-Jul-15 17:28pm    
login with admin user account and try again
Member 10736689 30-Jul-15 17:29pm    
Okay i tried and installed the asp.net but still it didnt work. This is a windows form application not a web application.
Mohammed Ibrahim.L 30-Jul-15 17:41pm    
login user pc with admin account and try again.sorry i forget to mention this in previous comment
Member 10736689 30-Jul-15 17:42pm    
My account has administrator access to the server.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900