ActiveSync 4.1 - weird package
Add your rating:
I've been asked to tailor MS ActiveSync 4.1 but I can't get my head around this package.
o The package places files and a shortcut I can't find in the package.
o A custom action to start wcescomm.exe won't run, wherever I place it.
o After installation wcesmgr.exe will be started and will show a screen whenever someone logs on.
On the PC it's in the Run regkey but it can't, however, be found in the registry inside the package
I guess the MSI contains other MSI's but I can't find them.
I need to place the shortcut in another folder, start wcescomm.exe directly after install and remove wcesmgr.exe from the Run regkey.
Can someone help me out here?
Marcel
o The package places files and a shortcut I can't find in the package.
o A custom action to start wcescomm.exe won't run, wherever I place it.
o After installation wcesmgr.exe will be started and will show a screen whenever someone logs on.
On the PC it's in the Run regkey but it can't, however, be found in the registry inside the package
I guess the MSI contains other MSI's but I can't find them.
I need to place the shortcut in another folder, start wcescomm.exe directly after install and remove wcesmgr.exe from the Run regkey.
Can someone help me out here?
Marcel
0 Comments
[ + ] Show comments
Answers (8)
Please log in to answer
Posted by:
gizmolala
19 years ago
Posted by:
ZhuBaJie
19 years ago
Posted by:
gizmolala
19 years ago
Posted by:
ZhuBaJie
19 years ago
Thanks, this helps.
I also found the Run entry and deleted it.
Do you have any idea why my custom actions won't run?
I tried them on several places and with several different custom actions like ruin from destination and a script.
----------------
a little later...
Changing the folder in the MSI doesn't help; it installs the shortcut in the same place as before.
Removing the Run key doesn't help either; it's still there when I install it.
Weird...
I also found the Run entry and deleted it.
Do you have any idea why my custom actions won't run?
I tried them on several places and with several different custom actions like ruin from destination and a script.
----------------
a little later...
Changing the folder in the MSI doesn't help; it installs the shortcut in the same place as before.
Removing the Run key doesn't help either; it's still there when I install it.
Weird...
Posted by:
slb
19 years ago
Posted by:
ZhuBaJie
19 years ago
I found out that all the time my transform wasn't used because /t was used and not TRANSFORMS=.
Damn! This way you can try till you die! Monday morning, I wasn't wide awake yet I guess.
Anyway, this is how I did it.
- I made a clean .MST
- Made the Randapparatuur folder to put the shortcut in
- Removed the Run registry key from the ActiveSyncCore feature
- Changed the Shortcut table to install to the new directory
- Changed the InstallExecuteSequence table by adding 'AND (NOT REINSTALL)' to the CA_Nt5_PrimeInf condition
- Changed the InstallExecuteSequence table by adding 'AND (NOT RunAs_ISTALL)' to the CA_InstalllinkNotes condition
- Changed the property ISCHECKFORPRODUCTUPDATES=0
- Changed the property RebootYesNo=No
- Added the property RunAs_INSTALL=1
- Added the property ROOTDRIVE=C:\
That's all folks!
Damn! This way you can try till you die! Monday morning, I wasn't wide awake yet I guess.
Anyway, this is how I did it.
- I made a clean .MST
- Made the Randapparatuur folder to put the shortcut in
- Removed the Run registry key from the ActiveSyncCore feature
- Changed the Shortcut table to install to the new directory
- Changed the InstallExecuteSequence table by adding 'AND (NOT REINSTALL)' to the CA_Nt5_PrimeInf condition
- Changed the InstallExecuteSequence table by adding 'AND (NOT RunAs_ISTALL)' to the CA_InstalllinkNotes condition
- Changed the property ISCHECKFORPRODUCTUPDATES=0
- Changed the property RebootYesNo=No
- Added the property RunAs_INSTALL=1
- Added the property ROOTDRIVE=C:\
That's all folks!
Posted by:
The Packeteer
19 years ago
Zhu,
The Shortcut us a Generated Shortcut with a GUID in it. im a WISE user and the shortcut is hidden in a seperate feature.
In WISE i needed to turn on some switches before i could see it. but its there.
When you delete is from the MST file you created it wil not be placed.
But to remind you the GUID behind is there for e reason, if you want to create your own Shortcut just chang the name or the location of the Existing one in the MST file. this will work.
For your custom Actions not running : What are you deploying with? and maybe you can run a Logfile with your MSI by using : msiexec /i /L* <location of Logfile> <yourMSI> TRANSFORMS=<yourMST> /qb-
This way you log your Entire MSI into a TXT file. This way i used to get the errors back into the log and it will show you why this isnt working.
Try this under your Deployment rights ( the Deployment userid that For example Altiris uses ) and the administrator Rights
Good luck!
Regards,
The Packeteer.
The Shortcut us a Generated Shortcut with a GUID in it. im a WISE user and the shortcut is hidden in a seperate feature.
In WISE i needed to turn on some switches before i could see it. but its there.
When you delete is from the MST file you created it wil not be placed.
But to remind you the GUID behind is there for e reason, if you want to create your own Shortcut just chang the name or the location of the Existing one in the MST file. this will work.
For your custom Actions not running : What are you deploying with? and maybe you can run a Logfile with your MSI by using : msiexec /i /L* <location of Logfile> <yourMSI> TRANSFORMS=<yourMST> /qb-
This way you log your Entire MSI into a TXT file. This way i used to get the errors back into the log and it will show you why this isnt working.
Try this under your Deployment rights ( the Deployment userid that For example Altiris uses ) and the administrator Rights
Good luck!
Regards,
The Packeteer.
Posted by:
The Packeteer
19 years ago
ORIGINAL: ZhuBaJie
I found out that all the time my transform wasn't used because /t was used and not TRANSFORMS=.
Damn! This way you can try till you die! Monday morning, I wasn't wide awake yet I guess.
Anyway, this is how I did it.
- I made a clean .MST
- Made the Randapparatuur folder to put the shortcut in
- Removed the Run registry key from the ActiveSyncCore feature
- Changed the Shortcut table to install to the new directory
- Changed the InstallExecuteSequence table by adding 'AND (NOT REINSTALL)' to the CA_Nt5_PrimeInf condition
- Changed the InstallExecuteSequence table by adding 'AND (NOT RunAs_ISTALL)' to the CA_InstalllinkNotes condition
- Changed the property ISCHECKFORPRODUCTUPDATES=0
- Changed the property RebootYesNo=No
- Added the property RunAs_INSTALL=1
- Added the property ROOTDRIVE=C:\
That's all folks!
Haha, Well that happens Zhu.

so that the conversation will remain readable.