/build/static/layout/Breadcrumb_cap_w.png

Error while using msiexec /jm switch

Hi ,

I am getting following error while installing Adobe Acrobat Reader in advertise mode for all users of machine .

Error 1925 : you do not have sufficient privileges to complete this installation for all users of the machine . Log on as administrator anf then try this installation

Although I am logged in as Administrator on this machine still I get this error .

Its quite weird but thats how it goes :

When i try to install the application by msiexec /jm switch . i do not get any error and the installation completes within a fraction of second but the application doesn't install .

then i try to install it again using the same switch and here i get this error .

Am I making any mistake .

Note: Package works fine with all other types of installations .
Cheers ,
V

0 Comments   [ + ] Show comments

Answers (10)

Posted by: WiseUser 18 years ago
Fourth Degree Brown Belt
0
I find your message confusing...

It seems you wish to advertise the installation to all machine users? I would do this using the "/jm" flag. You say that this works? So where's the problem?

It's normal that advertising the product only takes a second, because onlt the entry points are being installed.

What are you doing to receive the error message you described?
Posted by: viv_bhatt1 18 years ago
Senior Purple Belt
0
Yes i did use /jm flag and the installation was completed in a few seconds first time but it neither create any shortcut in start Programs menu nor entry in Add remove program .

Then i tried running the same command again and this where I am getting the permission error .


Cheers ,
V
Posted by: viv_bhatt1 18 years ago
Senior Purple Belt
0
Sorry an update , this time using /jm flag I could see Adobe Reader entry in Add remove programs but no shortcut this time .

Has anyone experience this behaviour earlier
Cheers,
V
Posted by: WiseUser 18 years ago
Fourth Degree Brown Belt
0
Sorry silly question... Are your shortcuts definately advertised?

What if you install the MSI using "/i" and ALLUSERS=1 - do you get shortcuts? If you check their properties, do they appear to be advertised shortcuts?

Have you ICE validated your MSI?
Posted by: viv_bhatt1 18 years ago
Senior Purple Belt
0
Yes I checked it just now , All my shortcuts are advertised and ALL USERS property is set to 1 .
Yes I have ICE validated Adobe Reader , but the funny thing is even the original Adobe reader msi does not do anything when installed with /jm switch except creating an entry in Add remove programs .

Completely confused , where am I making a mistake .

Cheers,
V
Posted by: WiseUser 18 years ago
Fourth Degree Brown Belt
0
Strange! I'm running out of ideas.

You could try a "/i" installation and add ADDLOCAL=ALL to the command line.
Posted by: viv_bhatt1 18 years ago
Senior Purple Belt
0
Hi ,

I was able to resolve the error . Actually although my shortcuts were advertised and ALLUSERS =1 but the Advertised property of all the features in Adobe Acrobat Reader was set to "Disallow Advertised" .

I changed it to "Allow Advertised" and everything worked fine .

Thanks to All of you for quick responses .

Cheers,
V
Posted by: viv_bhatt1 18 years ago
Senior Purple Belt
0
More Problem . I managed to get my installation work for msiexec / jm switch .

But after launching the application (I am using msiexec /jm to install) . I cannot launch Acrobat reader help file .

When i go to Help menu -> Adobe Reader Help . It shows a folder browser dialog to search for the help file .

It happens only when i install the application with /jm switch , other wise it works fine with other options .

Any pointers ?

Cheers,
V
Posted by: MSIPackager 18 years ago
3rd Degree Black Belt
0
ORIGINAL: viv_bhatt1

I was able to resolve the error . Actually although my shortcuts were advertised and ALLUSERS =1 but the Advertised property of all the features in Adobe Acrobat Reader was set to "Disallow Advertised" .

I changed it to "Allow Advertised" and everything worked fine .



Some vendor MSIs (Acrobat Reader / Standard / Professional are classic examples) goto great lengths to stop you advertising them - usually for good reason. Simply changing the feature attibutes as you have suggested alone is unlikely to make the product advertise, completely install and function correctly.

You could try moving all components into the main parent feature to try and get the whole thing to isntall... You may need to change references in other tables (e.g. Class, Publish Component, Shortcut etc) to reflect this. Make sure you validate the package and fix as many warnings and errors as you can.. Even then there may be some nasty custom actions in there which may still cause you headaches!

I fought with advertising these Adobe products with the vendor MSI for ages and eventually snapped them instead! This will probably get hissed at by other members [;)] It still wasn't easy but the packages are out there and working happily...

Good luck,
Rob.
Posted by: viv_bhatt1 18 years ago
Senior Purple Belt
0
Yes you are right . I got around help file issue by adding the Help feature to ADDLOCAL property in property manager of Installshield Transform .I am facing quite a more issues .
e.g: On installation with /ju switch I am not getting the right icon association for pdf files .

All pdf files open correctly but the icon is not right it gives the default unknown filetype icon .

I checked in registry the default icon for pdf files is Shell32.dll when installed with /ju switch .

Cheers,
V
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