I have a weird kinda problem. I have 2 features with 1 component each. all the components have is one file & a shortcut.
There is an AppSearch to see if a certain file is installed on the system or not. based on that either feature 1 or feature 2 will get installed. AppSearch result is saved in property called SHRTCUT. Now SHRTCUT is set to 0 in property manager.

For features, i have a condition if SHRTCUT<>0 install feature 1. If SHRTCUT=0 install feature2

Now what i want to do is that if SHRTCUT<>0 means AppSearch found the file so it put the path of file in SHRTCUT & installed feature1.

Now in Feature there's a component w/ shortcut & i want to put the path of the file in shortcut. How do i do that..??

Now in Admin mode it works... but in Restricted priv. it doest put the path in shortcut. I tried doin [SHRTCUT] in the path & it works in Admin but in user it somehow saves 0 & i see 0 in the path of shortcut.

can anyone help me with this... please feel free to ask questions if ur not sure whats happening. but i need some serious help plz. :)
0 Comments   [ - ] Hide 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.
Answer this question or Comment on this question for clarity


Hmmm. Works as local admin but not user... Sounds like you have it coded correctly but are running into an access rights issue. Maybe the user doesn't have enough access to the file you're checking. They may need more that just read access since they're pulling attributes from it.

I'd head right to the FileMon utility which will tell you all the details on file activity. Use FileMon on both installs (you'll get a boatload of data) and filter it down to only the file(s) your appsearch is focused on. I bet you'll find an ACCESS DENIED on the user install that you won't find on the admin. Now that won't solve your problem, but it has a good chance of telling you exactly what your problem is.

If it is file security that causes your problem, you can now figure out how you'll get around it, or what security modifications need to be done in order to make your AppSearch sucessful.

Hope that helps!
Answered 03/07/2005 by: VikingLoki
Second Degree Brown Belt

Please log in to comment
i figured it out..:P

1 word: SecureCustomProperties
Answered 03/12/2005 by: Slice
Senior Yellow Belt

Please log in to comment