Setup exe installation
Hi All,
I am trying to package an application. When I try to install the legacy installation as an admin the application works fine. When I try to open as an end user, I get this error
Message:Exception has been thrown by the target of an invocation.
Inner Exception : The type initializer for " productname.common.win.icptspread" threw an exception.
Stack trace: at system.runtimetype.createinstanceimp(boolean public only)
at system.activator.createinstance(type type,boolean nonpublic)
at pdtname.common.win.startupform.getschedulesform(type schedules formtype)
Can anyone guide me with this. What does this indicate? what should I look for?
Thanks in advance,
Any help is appreciated.
I am trying to package an application. When I try to install the legacy installation as an admin the application works fine. When I try to open as an end user, I get this error
Message:Exception has been thrown by the target of an invocation.
Inner Exception : The type initializer for " productname.common.win.icptspread" threw an exception.
Stack trace: at system.runtimetype.createinstanceimp(boolean public only)
at system.activator.createinstance(type type,boolean nonpublic)
at pdtname.common.win.startupform.getschedulesform(type schedules formtype)
Can anyone guide me with this. What does this indicate? what should I look for?
Thanks in advance,
Any help is appreciated.
0 Comments
[ + ] Show comments
Answers (16)
Please log in to answer
Posted by:
jmaclaurin
13 years ago
It appears that is a .Net error message, although I could not offer a solution as to how to fix it other than to suggest you make sure you have the correct version installed. Are you sure that the application you are packaging is not already an MSI? It could be your EXE is extracting an MSI pre-install.
Posted by:
shamu99
13 years ago
thanks for your reply, If it were a .Net error , then this error should pop up when I log In as an admin . But as an admin I am able to use the application successfully. When I log In as an end user, and try to use the app, I get the error.
The Application is not a MSI, and there is no MSI in temp folder too, so I will need to repackage it, before which my exe itself is having this problem.
Thank You!!!
The Application is not a MSI, and there is no MSI in temp folder too, so I will need to repackage it, before which my exe itself is having this problem.
Thank You!!!
Posted by:
jmaclaurin
13 years ago
Posted by:
shamu99
13 years ago
Posted by:
dunnpy
13 years ago
If it works as an admin and launches okay, but not as a standard user then it's a fair assumption that this is going to be permissions related.
Try running ProcMon and see what 'access denied' type message you get, see if that helps. Or you could try LUABugLite (Google it), which should tell you where needed access as a standard user.
Dunnpy
Try running ProcMon and see what 'access denied' type message you get, see if that helps. Or you could try LUABugLite (Google it), which should tell you where needed access as a standard user.
Dunnpy
Posted by:
jmaclaurin
13 years ago
Posted by:
shamu99
13 years ago
Thanks Dunnpy And Jmaclaurin for your reply.
Dunnpy , I tried the LUABugLite ( good tool ). The access denied starts from uninstall data folder from c:\program files, and continues for all most all the files and reg keys, so basically it is not installing under standard user rights.
Jmaclaurin , if it is problem with the OS, then as an admin I should get the same error, but it works as admin.
Guys, since it is not installing as a standard user, how can I proceed ?
Any help is appreciated
Thanks
Dunnpy , I tried the LUABugLite ( good tool ). The access denied starts from uninstall data folder from c:\program files, and continues for all most all the files and reg keys, so basically it is not installing under standard user rights.
Jmaclaurin , if it is problem with the OS, then as an admin I should get the same error, but it works as admin.
Guys, since it is not installing as a standard user, how can I proceed ?
Any help is appreciated
Thanks
Posted by:
shamu99
13 years ago
Posted by:
Teitan
13 years ago
Posted by:
dunnpy
13 years ago
It wasn't clear from your original post that you were attempting to install a piece of software as a standard user - of course it's going to fail.
As Teitan says, you need to use a deployment tool with admin credentials to install , whether that's those already mentioned, GPO, or as a last resort PSExec running the installation remotely with the credentials.
I was approaching this as a successfully installation application that wasn't running as a standard user.
Dunnpy
As Teitan says, you need to use a deployment tool with admin credentials to install , whether that's those already mentioned, GPO, or as a last resort PSExec running the installation remotely with the credentials.
I was approaching this as a successfully installation application that wasn't running as a standard user.
Dunnpy
Posted by:
Dodgyguy
13 years ago
Posted by:
jmaclaurin
13 years ago
Posted by:
bearden3
13 years ago
We use HPCA for deployment.
I too am using HPCA (Radia).
Since you have already created the ZSERVICE and PACKAGE, open the ZSERVICE in the CSDB Editor and look for the parameter name called ZSYSACCT. The value for it should be "Y" for yes. If it is "N", that means the install will be a per user install. Setting it to "Y" will make it do a Per Machine install and will use the Local SYSTEM account to do the install.
HPCA is quite the challenge...
Looking back at your posts there is a conflict. It seems like you are trying to do an install as the standard user but then you say that you are installing it as admin but it won't run as standard user (after being installed by admin). So, just where is the problem? Is it when you try to install it as a standard user? Is it when you try to run it as a standard user (after installing it as admin)?
Posted by:
shamu99
13 years ago
Thanks a lot All, to reply .
Bearden, Sorry for not being clear.
When the application is installed by Admin, the installation is successful and launches also succesfully with the admin log in.
Now I log In with limited rights (End User) , if I try to launch the application I get that error above.
I tried the other way, where I tried to install the application logging in with limited rights, then the application does not install at all, Does not create the folders itself.
Hope I was clear.
I will try the ZSYSACCT.
Bearden, Sorry for not being clear.
When the application is installed by Admin, the installation is successful and launches also succesfully with the admin log in.
Now I log In with limited rights (End User) , if I try to launch the application I get that error above.
I tried the other way, where I tried to install the application logging in with limited rights, then the application does not install at all, Does not create the folders itself.
Hope I was clear.
I will try the ZSYSACCT.
Posted by:
shamu99
12 years ago
I am trying to do a AIP for the same application above. I am getting an error 2755. server returned unexpected error 1639 attempting to install package.
The app was a legacy setup, I did the capture to create MSI. the MSI installs fine, but when I try to do the AIP I get the error.
Any help is appreciated
The app was a legacy setup, I did the capture to create MSI. the MSI installs fine, but when I try to do the AIP I get the error.
Any help is appreciated
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
so that the conversation will remain readable.