System user and group policy .msi

Got a problem you cannot solve? Try here.
damjan
Posts: 12
Joined: Thu Jul 10, 2014 7:04 am

System user and group policy .msi

Postby damjan » Thu Jul 10, 2014 7:13 am

Hi

What I want to do is install the .msi under the system user account. I've read through the topics and found some discussion on the similar problems but none of them were helpful.

Currently I have created a new Native Project installation that I left the same as by default. I only added one line to install one .txt file. Then I created a new single build and converted this .exe to a .msi file with the group policy wizard.

Now when I try to install this .msi using the command line below, the installation immediately completes and returns error code 0. Nothing gets installed. If I remove the "PsExec.exe -s" which runs the command under the system user then the installation works as expected.
PsExec.exe -s msiexec.exe /i c:\native\native.msi

Can anyone from you guys suggest any reasons why isn't this working? Is this by design? Do I need to change anything? I already tried playing with setting the ALLUSERS variable to true and there was no change.

Kind Regards

Damjan

FrancescoT
Site Admin
Posts: 5361
Joined: Sun Aug 22, 2010 4:28 am

Re: System user and group policy .msi

Postby FrancescoT » Fri Jul 11, 2014 6:25 am

Dear Damjan,

first of all a question just to be sure that I haven't missed anything... did you use a project based on IA NATIVE ENGINE instead of Windows Installer engine?

If true, first try to use a project based on a template the uses Windows Installer engine, as "Basic Setup" for example.

Regards
Francesco Toscano
InstallAware Software

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE

damjan
Posts: 12
Joined: Thu Jul 10, 2014 7:04 am

Re: System user and group policy .msi

Postby damjan » Wed Jul 16, 2014 6:43 am

I figured out, that when installing only one file and using the "basic setup" that file actually gets installed. But there is no entry in the "add remove program files" to uninstall the application.

Still the setup that installs our main application which contains almost 1000 files and a couple of services does not install at all. Not even one file gets copied to the program files.

Is there any way to debug and see why the installer stopped?

FrancescoT
Site Admin
Posts: 5361
Joined: Sun Aug 22, 2010 4:28 am

Re: System user and group policy .msi

Postby FrancescoT » Wed Jul 16, 2014 10:38 am

Dear Damjan,

you missed to reply my question.

did you use a project based on IA NATIVE ENGINE instead of Windows Installer engine?

Regards
Francesco Toscano
InstallAware Software

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE

damjan
Posts: 12
Joined: Thu Jul 10, 2014 7:04 am

Re: System user and group policy .msi

Postby damjan » Thu Jul 17, 2014 1:18 am

Yes I did.

Actually I used "Native Setup", "Basic Setup" and "Win32 Setup". And none of them show entry in the "add remove program files".

FrancescoT
Site Admin
Posts: 5361
Joined: Sun Aug 22, 2010 4:28 am

Re: System user and group policy .msi

Postby FrancescoT » Thu Jul 17, 2014 7:38 am

Dear Damjan,

No, I didn't mean if you used the "Native Setup" project template to create your project, instead if you are deliberately using IA Native Engine capability with your project (see IA documentation for more details about NATIVE ENGINE).

Anyway, post a very minimal project that replicates the issue and I'll have a look (don't miss to include any file used).

Regards
Francesco Toscano
InstallAware Software

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE


Return to “Technical Support”

Who is online

Users browsing this forum: No registered users and 112 guests