Hello,
i am new to repackaging.i want to know how to find whether a shortcut in setup.exe is advertised or not?if it is an msi we can say it by term self healing.but how to find in exe files.please do post..
0 Comments   [ + ] Show Comments

Comments

Please log in to comment

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.

Answers

0
To be an advertised shortcut, it must be installed - one way or another - via the Windows Installer engine. The overwhelming majority of installations which use the WI engine do so using an MSI. Thus, the best way to determine if an EXE extracts an MSI is to run the install as far as the first screen - normally a 'Welcome' dialog - and then checking the local disk for a new MSI. Most set-up programs will use %TEMP%, %SystemRoot%\TEMP or, more and more nowadays, a folder beneath %AppData%.
Answered 05/24/2011 by: VBScab
Red Belt

Please log in to comment
1
For installed application if you right click and check the properties of the shortcut, if the target location is grayed out then it is an advertised shortcut.
Answered 05/24/2011 by: naveen.packager
Green Belt

Please log in to comment
1
I find that on about 50% of setup.exe installers you can use an archive utility like 7-zip and extract the MSI.

Something else I have done is while the dialog is open running handle.exe from sysinternals and looking for any open .MSIs.
Answered 05/25/2011 by: spottedcoin
Senior Yellow Belt

Please log in to comment
0
The best solution is turn off the MSI installer Service while installing the EXE or MSI wrapped EXE.If the Installation works fine its Jus an EXE or if it terminates stating the service then its a MSI

Now come to ur question,

The best solution is to for the properties of the shortcut n check whether its graded out in target,in exe u cant see it since its a special feature only available in MSI to advertise the shortcut.

If u found that exe is a MSI wrapped take the MSI edit with whatever tool u got and check in shortcut table whether its advertised or non advertised.

The best practice is to advertise the shortcut in order to go for self heal.Hope this clears.post if u got queries :)
Answered 06/21/2011 by: kanthsri87
Senior Yellow Belt

Please log in to comment
-6
very good sugesstion given by naveen....

do like that to identify the shortcut is advertise/unadvertise is very easy...

try that it work surely..indran...
Answered 06/21/2011 by: hari4243
Purple Belt

Please log in to comment
Answer this question or Comment on this question for clarity