/build/static/layout/Breadcrumb_cap_w.png

Hi i am new to Application package i have Some questions regarding that

Here is my questions
1)  I have one .exe and it is having 2 shortcuts in desktop and start menu how can i disable those. (only disable not removing) in repackaging 
2) How can we do self healing manual every time when we launch the application 
3) How can we merge 3 or 4 applications in one single msi (If we install one msi it must install 3 or 4 applications ) 

1 Comment   [ + ] Show comment
  • Looks like you can use some of this.

    http://www.rainpackaging.com/msi_packaging_standards_best_practices.html - 786_ak 10 years ago
    • This...document contains this gem:

      Another name for ShortCut is icon.

      Then we get this:

      All shortcut must be advertised

      I think we can safely ignore its entire content, thank you. - anonymous_9363 10 years ago

Answers (4)

Posted by: anonymous_9363 10 years ago
Red Belt
3
1) Assuming the EXE doesn't extract and execute an MSI, capture it to one. If it does (check the %TEMP% or %APPDATA% folder for new folder(s) and an MSI when the EXE presents its first screen), create a transform for the MSI.

What do you mean by 'disabling' of shortcuts? What's the point of having a shortcut if it's disabled?!?

2) Why would you want self-healing to occur every time the application is launched? For more on self-heaing, Google John McFadyen's blog on the subject.

3) A spectacularly bad idea. How will you deal with an update or patch to one of those applications?

Before you do anything else, though, Google for the excellent e-book by Phil Wilson, The Definitive Guide To Windows Installer. Read and digest. You will struggle with packaging anything beyond basic applications unless you know and understand the fundamentals.
If we install one msi it must install 3 or 4 applications - See more at: http://www.itninja.com/question/hi-i-am-new-to-application-package-i-have-some-questions-regarding-that#sthash.7IwIO8Xx.dpuf
Posted by: garapati2526 10 years ago
White Belt
2
i am asking this questions for practice iam still in learning 

1) disable means application must install but it should not show the shortcuts (shortcuts must not removed from Msi)
2) i want to know how self healing works so i want to do one example 
3) No need for update just i want to try to merge applications in to one MSI. (just to learn)    
Posted by: Badger 10 years ago
Red Belt
2

how to shake a hornets nest....

IF you have an exe and its an EXE, you need to either from scratch, build an MSI with all the settings (that you don't really know about) so, use a tool to capture what the exe does and spit out an MSI.

Once you have the MSI, you are in charge (if its a vendor MSI, you are only half in charge, all changes with an MST)

merging apps into one MSI.... don't.
Ever, I mean, just don't.

But you are going to want to know why... and one day you will ignore this information and put 4 apps together.

4 apps will have at least 4 different development cycles. When an update comes out for one app, you will make the change, roll it out, then 6 weeks later another app will change, you make the change roll it out etc.

1 app, 1 MSI. life is simpler.

Exceptions to the rule..

I have seen places that have 'packaged' something like, BG info (with its cfg file) AND an INI file (unrelated to BG info) and say, an in house 'choose my printer' exe. Wrapped it all up into ONE MSI, there by breaking the rule.

why??? who knows, but their logic was, BGinfo wont change, nor will the config, on the other INI file, and the choose printer thing has not changed in years...
(you may be interested to know that it worked out OK for them)

but since your learning, DONT do it.

Posted by: EdT 10 years ago
Red Belt
1

1. You can delete shortcuts from an MSI using a transform. The MSI is unchanged, so the shortcuts remain available if you need them, just by deleting the transform and creating a new one.

2. Reading the information that John McFadyen has published in his blog. Constant self healing is a sign of a faulty package so don't go that route.

3. Would you want to learn about amputation by cutting off your arm?  Merging MSIs into one is truly a spectacularly bad idea and it is something you should avoid like ebola. There is really nothing to be learned here.  However, your question suggests you have not downloaded the Windows Installer SDK, part of the Microsoft Platform SDK, as this provides additional MSI resources. Also google for the MSI.CHM help file which is no longer in the current SDK but is still a valuable resource when packaging MSI files.

 
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