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

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
No, you're wrong.
Answered 11/04/2010 by: dreyer
Purple Belt

Please log in to comment
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.
Answered 11/04/2010 by: VBScab
Red Belt

Please log in to comment
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
Answered 11/04/2010 by: skt
Orange Senior Belt

Please log in to comment
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.
Answered 11/04/2010 by: dreyer
Purple Belt

Please log in to comment
0
So is the regkey you want repairing the key path of a component?
Answered 11/04/2010 by: timmsie
Fourth Degree Brown Belt

Please log in to comment
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)?
Answered 11/04/2010 by: dreyer
Purple Belt

Please log in to comment
0
Yes, 100%
Answered 11/04/2010 by: skt
Orange Senior Belt

Please log in to comment
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.????
Answered 11/04/2010 by: skt
Orange Senior Belt

Please log in to comment
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.
Answered 11/04/2010 by: dreyer
Purple Belt

Please log in to comment
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?
Answered 11/04/2010 by: timmsie
Fourth Degree Brown Belt

Please log in to comment
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}"
Answered 11/04/2010 by: skt
Orange Senior Belt

Please log in to comment
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.
Answered 11/04/2010 by: dreyer
Purple Belt

Please log in to comment
0
...or that the script duplicates what the repair is meant to be doing.
Answered 11/04/2010 by: VBScab
Red Belt

Please log in to comment
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 ;)
Answered 11/04/2010 by: dreyer
Purple Belt

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