/build/static/layout/Breadcrumb_cap_w.png

activesync & drivers, permissions required

hi there

I repackaged activesync 3.7.1
unfortunaty, our users do not have local admin or power user right (closed client).
How do I manage to "integrate" the drivers to the package?

I tried to import the regkeys required but that does not work.

thx for your help

Olivier

0 Comments   [ + ] Show comments

Answers (38)

Posted by: olivier 19 years ago
Orange Senior Belt
0
thanks, I will check that out.

just found out, that wise admin studio > 5 has a driver pkg template.
It uses the MS DIFxApp

Did you try it?

It works for me, BUT I always get a dialog telling me that the device is not plugged, yet.
Posted by: MSIMaker 19 years ago
2nd Degree Black Belt
0
olivier,

Try the PNP driver install template listed at

http://www.appdeploy.com/downloads/local/
Posted by: olivier 19 years ago
Orange Senior Belt
0
hi

thank you!

I'll try that.
Posted by: olivier 19 years ago
Orange Senior Belt
0
hi jim

I don't understand how this template works.
It doesn't look to use MS DIFxApp dlls

cheers

Olivier
Posted by: MSIMaker 19 years ago
2nd Degree Black Belt
0
Hi Olivier,

It isnt a DIFxApp install.....it just uses the PNP routines to install the drivers so that when the user plugs in the device it finds the required files and installs them silently.
Posted by: subsense 18 years ago
Purple Belt
0
Hi

I have the same problem.

We have a locked down environment for our users

When I install ActiveSync (3.8) manually (as an admin), every iPAQ we have is working great under the user credentials.
But as soon as I Package the application SOME iPAQ's won't work, System keeps asking for a admin password

So I tried the following:

I took the PNPDriverInstall.MSI

Added the wceusbsh.inf and the wceusbsh.cat to a directory C:\Programs files\Microsoft ActiveSync driver, A different directory, I know the files come with the ActiveSync Installation but I want the MSI to be the same as the template.

Changed the Custum Action (SETUPCOPYOEMINF) to the new path of the INF file (C:\Program Files\Microsoft ActiveSync drivers\wceusbsh.inf)

Did the same for the Custum Action SETUPADDTOSOURCELISTA

Removed the HP things in the MSI

Compiled it again with Wise Package Studio 4.61

Installed my packaged ActiveSync 3.8 MSI

Installed the newly made MSI

(reboot)

Problem not solved.

Am I forgetting something or did I made a dumb mistake?

Any help would be great!!
Posted by: olivier 18 years ago
Orange Senior Belt
0
I
I used the wise driver template and it works. Install it with admin rights (we did with group policy) and when the pocket pc is plugged in, driver is already installed. No need for admin rights.

I could try to send you the msi if you want.

regards

Olivier
Posted by: subsense 18 years ago
Purple Belt
0
That would be great!!
if you want you can send it to SubSenseSP@MGmail.com

Just remove the SPM (Keep the @) ;-)

Thanks in advance!
Posted by: olivier 18 years ago
Orange Senior Belt
0
hi, doesn't seem to work (our firewall blocks the attachement :-( )

1) go to wise.com and get the "device driver.msi" template
2) in the file table, I have my drivers file: wceusbsh.sys, wceusbsh.inf, wceusbsh.cat
I think that's all.
try that, wise has an excellent example.

regards

Olivier
Posted by: subsense 18 years ago
Purple Belt
0
Olivier,

Thanks for your reply,

I'm fighting with the downloaded template from Wise, copied the DLL' s in de system32 dir
And added the files to the file table.

But ik keep getting an error message, here is a part of the MSI installation log with the error.

MSI (s) (F8:7C): MainEngineThread is returning 1603
MSI (c) (2C:80): Back from server. Return value: 1603
MSI (c) (2C:80): Decrementing counter to disable shutdown. If counter >= 0, shutdown will be denied. Counter after decrement: -1
Action ended 11:27:20: ExecuteAction. Return value 3.
MSI (c) (2C:80): Doing action: Fatal_Error
Action start 11:27:20: Fatal_Error.
Action 11:27:20: Fatal_Error. Dialog created

I don't know why the MSI is not working, Have to investigate it more.

If you can mail me your MSI with an webmail account or from home you'll make me a very happy man!!
(Maybe renaming will do de trick for your proxy)

Thanks anyway!!
Posted by: subsense 18 years ago
Purple Belt
0
YES!!

Got it working, just need to test some more.

Which files are needed in de system32?

The package works with the following files in system32

DIFxApp.dll
DIFxAppA.dll
difxapi.dll
Posted by: olivier 18 years ago
Orange Senior Belt
0
hi

no one is needed there.
1) I have a component with those 3 files
2) directory of that component is a new directory: I would not recommanded a system directory. I've choosed c:\program files\activesync 3.8 drivers


that's all.
Posted by: subsense 18 years ago
Purple Belt
0
Okay,

That's a good idea to place those dll's in a seperate directory.

I have a working package but as an admin but.....
One custum action is not being installed [:@] when I install the MSI with elevated priveleges (user and machine) as a user
Its this one:

MsiProcessDrivers funtion name ProcessDriverPackages

I keep getting the message Windows Installer Meseage 1603 in the MSI log

Ofcourse, when I make the user a local admin I've got no problems at all.
I've also tried to run the custom action under the Deferred execution - system context (instead of immediate execution)
But then the MSI doesn'y work anymore....

Any Ideas??[&:]
Posted by: olivier 18 years ago
Orange Senior Belt
0
how many components do you have in your components table?
Posted by: subsense 18 years ago
Purple Belt
0
I've got a total of 4 in the components table

INF
DIFxAppA.dll
DIFxApp.dll
difxapi.dll

Could that have anything to do with the failing installation under the user credentials?
Posted by: olivier 18 years ago
Orange Senior Belt
0
that's wrong.

check your mail, just send you the package
Posted by: subsense 18 years ago
Purple Belt
0
Olivier,

Thanks man! Haven't recieved it yet,
Gmail doesn't accept eceutable files (MSI, EXE, e.d.)
I've tested it, renaming it to .txt solves the problem.

Did you mail it to subsenseSP@Mgmail.com
without SPM ofcourse...
Posted by: olivier 18 years ago
Orange Senior Belt
0
does it work?
Posted by: subsense 18 years ago
Purple Belt
0
No,

As in my previous post, I haven't revieved your email [:(].
Could you please post it again remaned to .txt?

Thanks
Posted by: olivier 18 years ago
Orange Senior Belt
0
sorry, that mail won't work. My mail gateway says "invalid adress"

off course without spm

don't you have another mail?
Posted by: subsense 18 years ago
Purple Belt
0
Hmm, Strange...
But you can use subsenseSP@Mxs4all.nl or subsenseSP@Mcistron.nl
Good luck!

Thanx!!
Posted by: subsense 18 years ago
Purple Belt
0
Olivier,

YES, recieved the zip file.
Thank you very much for that. [:D]
We've got over 250 working MSI files, so if I can help you with anything just let me know!
I've got two weeks off right now, but as soon as I am at work I will try the MSI.

Greetings Jan-Maarten
Posted by: GregAU 18 years ago
Yellow Belt
0
Hi I am having the same problem.

Active sync repackages and installs successfully with admin privs but a restricted user needs a username and password when the PDA is going through the detection phase at first plugin.

I take it you guys are using Wise going by your replies. I am using Installshield and cant get it to work by trying to put together your responses.

Does anyone have a clear cut way to do this with Installshield?

Many thanks.
Posted by: olivier 18 years ago
Orange Senior Belt
0
hi

it's an msi pkg so don't care about installshield or wise.
you could do it with orca, either

cheers

Olivier
Posted by: subsense 18 years ago
Purple Belt
0
Greg,

I recieved a MSI with the driver in it, Monday I will test the MSI.
I'll let you know if this MSI solves our problem, if so I will mail you the MSI (Only with permission of Olivier ofcourse ;-))
Posted by: olivier 18 years ago
Orange Senior Belt
0
@ board admins:

is it possible for me to provide the MSI to the forum via download?
A few people are asking me for the MSI.

thanks

Olivier
Posted by: bkelly 18 years ago
Red Belt
0
You can use the email links provided to contact people offline, but as of now MSI files may not be shared. At some point I hope a safe means of sharing packages can be realized- but for now there is too much risk in the possibility of including license information (and even source files).

In the future I hope to take a look at MSI2XML as a means of allowing people to share packages via AppDeploy. With some tweaks, we could build in license/serial filtering so only the installation logic would remain (to compile such a package, you'd have to install the software so source files would resolve, and finally you'd have to enter your own license info). However, this is still something on the drawing board that should not be expected any time soon.
Posted by: olivier 18 years ago
Orange Senior Belt
0
@greg (Subsense)

could you please mail to others the file?
there is no license information in there.

Thank you.
Posted by: subsense 18 years ago
Purple Belt
0
okay, No Problem.

If anyone needs the MSI please send an email to subsenseSP@Mgmail.com
Please remove the SPM from de address.
Posted by: subsense 18 years ago
Purple Belt
0
I have been testing with the MSI.
But the MSI contains a custum action (user) which cannot be executed during install in our environment :-(
I'm trying to find which custum action is the problem.
Posted by: subsense 18 years ago
Purple Belt
0
Solved!

During logon I check if a user is a member of de ActiveSync Security group, I Also check on a certain reg value.
When both conditions are true and an installation of ActiveSync in present the MSI will install. (doing this with VBS)

The MSI writes the certain reg value, so during the next logon the ActiveSync Device Driver installation wil not fire up anymore.

The provided MSI works, but not with our distribution application (VAI Deployment Center, keep getting Windows installer error 1603 in the MSI logfile)

All your support has been great!

Thanks!
Posted by: sejacru 18 years ago
Second Degree Blue Belt
0
Hello subsense,

I have the same problems. I downloaded from wise the driver template, so i thougt this was a piece of cake.
Ihave done exactly the same as on the wise site but i get an error. Could help me of email me the driver.msi?

That would me great.

greetings
sejacru
the netherlands
Posted by: sejacru 18 years ago
Second Degree Blue Belt
0
hello oliver,

I have this problem also, that the msi is telling me that the device is not plugged in. Do you know the solution.

greetings sejacru
Posted by: mgroover 18 years ago
Senior Yellow Belt
0
With Active Sync I have so far been successful with installing the drivers in the following manner. We have win2k clients and SMS AP-installation via the SMS account which is admin, it doesn't always work as it should either I might add.. =oD :

Put the Active Sync 3.8 drivers in a separate folder called driver under the main program files folder
Create a dpinst.xml in this folder containing the following information:

<?xml version="1.0"?>
<dpInst>
<quietInstall/>
</dpInst>



Create a custom action that runs, during installation and repair, the dpinst.exe tool with the correct folder as working directory. I had to solve this using a bat-script, a bit aggrevating but needed for it to get the correct working directory since our SMS can't handle the "Run in" property for some reason.
Create a custom action that runs, during uninstall, the uninstallstring for the dpinst-package (get this from HKLM\Software\Microsoft\Windows\CurrentVersion\Uninstall).

Voila, works like a charm. As long as the installation is run from an account with adminprivs, you have no problems.

// martin
Posted by: sejacru 18 years ago
Second Degree Blue Belt
0
oke than....ik give it a try
Posted by: subsense 18 years ago
Purple Belt
0
ORIGINAL: sejacru

Hello subsense,

I have the same problems. I downloaded from wise the driver template, so i thougt this was a piece of cake.
Ihave done exactly the same as on the wise site but i get an error. Could help me of email me the driver.msi?

That would me great.

greetings
sejacru
the netherlands


Okay dan,

Stuur even ene mailtje naar SubSenseNOSP@Mgmail.com
Uiteraard zonder NOSPM!

Grt Sub
Posted by: olivier 18 years ago
Orange Senior Belt
0
hi

the msi I've "done" should work. It works for us @ 100% without any admin right.
@Subsense: I think it worked for you too, didn'it it?

cheers

Olivier
Posted by: subsense 18 years ago
Purple Belt
0
Partly,

With our standard tool, Deployment Center (VAI.nl) is doesn't but I just install the driver during logon (with admin rights). Made a script that checks on certain values on filesystem and registry. So the MSI only kicks off one time.
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