Page 1 of 1

System user and group policy .msi

Posted: Thu Jul 10, 2014 7:13 am
by damjan
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

Re: System user and group policy .msi

Posted: Fri Jul 11, 2014 6:25 am
by FrancescoT
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

Re: System user and group policy .msi

Posted: Wed Jul 16, 2014 6:43 am
by damjan
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?

Re: System user and group policy .msi

Posted: Wed Jul 16, 2014 10:38 am
by FrancescoT
Dear Damjan,

you missed to reply my question.

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

Regards

Re: System user and group policy .msi

Posted: Thu Jul 17, 2014 1:18 am
by damjan
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".

Re: System user and group policy .msi

Posted: Thu Jul 17, 2014 7:38 am
by FrancescoT
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