/build/static/layout/Breadcrumb_cap_w.png

Advertise shortcut with Active setup.

Hi all,


I have created an MSI which has Advertise shortcut and also i added active set up. Wait Wait i will tel you why...

i need to run some configration to the user through vb script, so in active setup i am triggering only vb script file(config) to user.

Now my Question is Will MSI go for repair for the first time when user launched advertise shortcut.
My MSI is not going for repair ,i thinking is it because of active setup will run first.. i ma right?????

0 Comments   [ + ] Show comments

Answers (14)

Posted by: dreyer 14 years ago
Purple Belt
0
No, you're wrong.
Posted by: anonymous_9363 14 years ago
Red Belt
0
No, you're wrongEh? AS will run first, since the repair will only be triggered by access to an advertised entry-point, in this case a shortcut. Unless, of course, the OP has found away to click a shortcut before the Desktop is even drawn...

@OP, I suspect the repair isn't happening because of the way your feature tree is arranged. Tell us in detail what the component to be repaired contains and where in the feature tree its parent feature is.

BTW, what configuration are you doing in VBS that can't be done natively via MSI tables? Post the script, too: we may be able to eliminate the scripting step. You should always try to use tables first: script should be the very last resort.
Posted by: skt 14 years ago
Orange Senior Belt
0
thx vbscab,

Confg: I need to Map a (X)Dive on user machine and need access some config file from there and runing in the cmd line.

Feature: There is only one(comlete) feature .

1) As soon as users logs in Active set up will run first than i will launch Advertise shortcut tha MSI has to go repair. BUT is not doing .

2) there is an user ODBC reg keys are there in MSI reg table. thats waht i want to reapir.



Thx & Reagrsd,
kant
Posted by: dreyer 14 years ago
Purple Belt
0
ORIGINAL: VBScab

No, you're wrongEh? AS will run first, since the repair will only be triggered by access to an advertised entry-point, in this case a shortcut. Unless, of course, the OP has found away to click a shortcut before the Desktop is even drawn...


Maybe I misunderstood the question, but the .msi repair not running cannot be related to the Active Setup part as it's only a .vbs script he's triggering via Active Steup, I did not understand the possible correlation. So, there's probably something wrong in the package or there's simply no need for repair at first launch at all.
Posted by: timmsie 14 years ago
Fourth Degree Brown Belt
0
So is the regkey you want repairing the key path of a component?
Posted by: dreyer 14 years ago
Purple Belt
0
ORIGINAL: timmsie

So is the regkey you want repairing the key path of a component?


and is the Component attribute set to RegistryKeyPath (decimal value 4)?
Posted by: skt 14 years ago
Orange Senior Belt
0
Yes, 100%
Posted by: skt 14 years ago
Orange Senior Belt
0
I want confirm one thing ,

If Active set up runs first , than MSI has to go for repair or not ,after launching the advert shortcut.????
Posted by: dreyer 14 years ago
Purple Belt
0
ORIGINAL: skt

I want confirm one thing ,

If Active set up runs first , than MSI has to go for repair or not ,after launching the advert shortcut.????


Unless you are running msiexec /fpu {pcode} I don't see how Active Setup has ANYTHING to do with wheter or not the MSI repairs at first launch via the advertised shortcut.
Posted by: timmsie 14 years ago
Fourth Degree Brown Belt
0
Active setup will have no bearing on whether the msi repairs. If you have current user keys in the msi with the features and component key paths setup correctly then it should repair

Is you shortcut definately advertised?
Posted by: skt 14 years ago
Orange Senior Belt
0
Thx timmsie,
Yes, my shortcuts are advertise and key path set properly.

If i removed Active set up from MSI it will repairing, with active key its not.

Dreyer: I am running vbs in active set up. so its not required "msiexec /fpu {pcode}"
Posted by: dreyer 14 years ago
Purple Belt
0
ORIGINAL: skt

Thx timmsie,
Yes, my shortcuts are advertise and key path set properly.

If i removed Active set up from MSI it will repairing, with active key its not.

Dreyer: I am running vbs in active set up. so its not required "msiexec /fpu {pcode}"


Well, that does not make any sense.

Only plausible scenario I can think of is your .vbs script is triggering a MSI repair on the package.
Posted by: anonymous_9363 14 years ago
Red Belt
0
...or that the script duplicates what the repair is meant to be doing.
Posted by: dreyer 14 years ago
Purple Belt
0
ORIGINAL: VBScab

...or that the script duplicates what the repair is meant to be doing.


Haha, yeah I thought of that, but considered it too absurd to mention ;)
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
 
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