Guest iekhan Posted June 8, 2005 Report Posted June 8, 2005 I want to create a CAB file containing multiple applications for my smartphone (Windows CE). I have the Cab files of the two applications that I want to merge (or install them using one cab file). I also have their .inf file incase I need to run CabWizSP for my requirement. What I want is a single CAB file which will install both these applications. Is it possible to write an .inf file which will create one cab file but install two applications on the mobile device? One thing that I have tried is merging the _setup.xml files within the two cabs to create one _setup.xml. Subsequently, place all the files in both the cabs along with this merged xml file into a CAB file (Using Visual Studio). It installs both the applications smoothly. However, when you look into the add/remove programs section, you will find the name of the first application only out there (though it removes both of them).
Guest Jamma14 Posted June 8, 2005 Report Posted June 8, 2005 I want to create a CAB file containing multiple applications for my smartphone (Windows CE). I have the Cab files of the two applications that I want to merge (or install them using one cab file). I also have their .inf file incase I need to run CabWizSP for my requirement. What I want is a single CAB file which will install both these applications. Is it possible to write an .inf file which will create one cab file but install two applications on the mobile device? One thing that I have tried is merging the _setup.xml files within the two cabs to create one _setup.xml. Subsequently, place all the files in both the cabs along with this merged xml file into a CAB file (Using Visual Studio). It installs both the applications smoothly. However, when you look into the add/remove programs section, you will find the name of the first application only out there (though it removes both of them). <{POST_SNAPBACK}> in the _setup.xml try changing to what you want to come up in add/remove programs. Haven't tryed this myself but pretty sure it works. ;) I don't know how you would get them coming up as two separate entries or if it's even possible though. :??:
Guest iekhan Posted June 8, 2005 Report Posted June 8, 2005 in the _setup.xml try changing to what you want to come up in add/remove programs. Haven't tryed this myself but pretty sure it works. ;) I don't know how you would get them coming up as two separate entries or if it's even possible though. :??: <{POST_SNAPBACK}> Thanks for the reply. i will be trying out adding the value subtag in an hour or so and will post the results here. However, what I really need is for both the applications to be visible in Add/Remove and hence being able to uninstall each of them individually/independently. Tying them to one uninstall command is what is defeating the above said procedure (merging _setup.xml).
Guest Jamma14 Posted June 9, 2005 Report Posted June 9, 2005 Thanks for the reply. i will be trying out adding the value subtag in an hour or so and will post the results here. However, what I really need is for both the applications to be visible in Add/Remove and hence being able to uninstall each of them individually/independently. Tying them to one uninstall command is what is defeating the above said procedure (merging _setup.xml). <{POST_SNAPBACK}> Ok, can you post the xml on here so I can have a fiddle??
Guest iekhan Posted June 9, 2005 Report Posted June 9, 2005 Alright, I have attached the XML file. The two applications that I want to install using the same CAB are: (a) Mcafee - Line # 3 to Line # 136 in the XML file. (;) Registry Editor - Line # 139 - Line # 212 in the XML file. The result of executing this is - Both the apps are installed and running smoothly. However, just the name of Mcafee shows up in the Add/Remove Programs. Interestingly, if I uinstall it, both the apps are uninstalled. But my problem is that I want both the names to be displayed out there so that they can be uninstalled independentally._setup.xml
Guest Jamma14 Posted June 9, 2005 Report Posted June 9, 2005 Alright, I have attached the XML file. The two applications that I want to install using the same CAB are: (a) Mcafee - Line # 3 to Line # 136 in the XML file. (;) Registry Editor - Line # 139 - Line # 212 in the XML file. The result of executing this is - Both the apps are installed and running smoothly. However, just the name of Mcafee shows up in the Add/Remove Programs. Interestingly, if I uinstall it, both the apps are uninstalled. But my problem is that I want both the names to be displayed out there so that they can be uninstalled independentally. <{POST_SNAPBACK}> I've looked and what you've done seems to be sensible...I fiddled but couldn't get it to work. I don't think it is possible :D I remember when installing resco explorer it sent two cab files across to the phone from the windows installer (one for the file explorer, one for the registry explorer) and then executed them both. Of course this meant they counted as different programs in the add/remove programs menu. If you know how to create a windows installer then can send then to the phone and run them then I'd say that's the best alternative you'll get.
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now