/build/static/layout/Breadcrumb_cap_w.png

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.

0 Comments   [ + ] Show comments

Answers (16)

Posted by: jmaclaurin 13 years ago
Third Degree Blue Belt
0
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
Fifth Degree Brown Belt
0
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!!!
Posted by: jmaclaurin 13 years ago
Third Degree Blue Belt
0
Do you get this error using the exe? It may be that an Environment variable, reg key, etc, is not being set in your MSI.
Posted by: shamu99 13 years ago
Fifth Degree Brown Belt
0
Yes , I get this error with the exe. Any Idea as to why I get this?

Thanks
Posted by: dunnpy 13 years ago
Red Belt
0
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
Posted by: jmaclaurin 13 years ago
Third Degree Blue Belt
0
If you are getting this error when using your msi or the vendor's exe, then its a problem with the app or the way you have your OS configured. I would start with the vendor's web site/forum/support/KB's/etc. To test if its your OS, do a flat OS install in a workgroup and go from there.
Posted by: shamu99 13 years ago
Fifth Degree Brown Belt
0
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
Posted by: shamu99 13 years ago
Fifth Degree Brown Belt
0
How can I install the app to the users with no admin rights, when the application requires admin rights to install ?

Thanks
Posted by: Teitan 13 years ago
Senior Purple Belt
0
Do you have any deployment tool in your company like Microsoft SCCM, NetInstall or smiliar?
Posted by: dunnpy 13 years ago
Red Belt
0
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
Posted by: shamu99 13 years ago
Fifth Degree Brown Belt
0
We use HPCA for deployment.
Posted by: Dodgyguy 13 years ago
Senior Yellow Belt
0
ORIGINAL: shamu99

We use HPCA for deployment.


There is half your problem.....[:'(]
Posted by: jmaclaurin 13 years ago
Third Degree Blue Belt
0
I'm not familiar with HPCA, but it likely has an option to install either using a specified account or the System account. Standard users cannot write to any area other than their own profile and even at that, Win7 monitors that. So no, you cannot install software as a Standard user.
Posted by: bearden3 13 years ago
Purple Belt
0
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
Fifth Degree Brown Belt
0
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.
Posted by: shamu99 12 years ago
Fifth Degree Brown Belt
0
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
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ