Newbie repackaging question
I am a newbie to application repackaging and would like some help with an application, can anyone help me. I recently packaged an application and when I install it and open it, the application gives me an error message. The error message reads.
"C:\Program File (x86)\IBM\Rational\DOORS\9.5.\bin\doors.exe
the application has failed to start because its side-by-side configuration is incorrect. Please see the application event log or use the commend-line sxstrace.exe tool for more detail."
The only way it starts working is when I go to control panel / Programs and Features click on the application and click repair. After the application is repaired, I run the app and it starts working fine.
Note this is on Windows 7.
Answers (5)
Forget the profile stuff: the app works perfectly fine without.
Rational Doors is an MSI wrapped in an InstallShield EXE so you should NOT be repackaging it but extracting the MSI and aplying a transform to it.
Remember too: use the resources close to hand, viz. http://www.itninja.com/software/ibm/rational-doors/9-876. As you'll see in this entry, the '/v' followed by a bunch of parameters and properties clearly destined to be passed to MSIExec also point to its Windows Installerness :-)
Comments:
-
thank you for your help, I have a fallowup questions for you. My company will be using SCCM 2012, will the MST file be able to deploy though SCCM? - ITreaper 11 years ago
-
In a word, yes. - anonymous_9363 11 years ago
-
i am not able to create a MST, I am using Wininstall. - ITreaper 11 years ago
-
I use already the tool orca to transform MST-Files. Load the MSI and change the values which you would to change. - Johnzko 11 years ago
-
Use InstEdit instead of Orca. It's Orca on steroids. - anonymous_9363 11 years ago
Faster way to create MST is Orca. When your MSI is failing or showing error or repairing,, go to event viewer for details on which component it is failing or if it is showing error, u can search with error number to search what exactly went wrong. Understand MSI tables first to create MST correctly.
To fix your particular problem have a look in the event logs and see what component the repair.. is repairing. You should get a component GUID of sorts, from here you can check the package and see what is causing the problem.
It could be caused by missing files in the profile, or HKCU.
Or missing files in the package somewhere else.
Anyway you have a problem with files or regs, or something somewhere. Find where it is and fix it if its outside of the profile or reg keys.
*Dont use this as a fix for problems outside of the profile or HKCU path, its bad practice.
If the compoment is in the profile or HKCU path, then change the shortcut that you use to launch it to a advertised shortcut, this will trigger the sealf heal to populate the files.
Good luck!
Comments:
-
When I use the control panel / programs and features / add&remove, and i use the repair button the application starts working. I thought that if i can run the repair process though a command prompt and use the syntax msiexec.exe [/f{p|o|e|d|c|a|u|m|s|v}] <product_code> one of these it would fix my problem but nothing seems to work but the manule repair. can you give me any other idea's? Also I am pasting the site where I got this information below.
http://www.advancedinstaller.com/user-guide/msiexec.html - ITreaper 10 years ago
Use a PC who never had this programm installed. make a new package from it and look that programms an services like Windows update, search, firewalls and antivirusapps be closes.
which tool you used to packaging ?
Comments:
-
I am on a project that does not allow me to shut down any of there security or services. That maybe one of the issue why I cant package my applications correctly. - ITreaper 10 years ago